code: func EndBlock(endBlock *waddrmgr.BlockStamp) RescanOption {
  	return func(ro *rescanOptions) {
  		ro.endBlock = endBlock
  	}
  }
docs: // EndBlock specifies the end block. The hash is checked first; if there's no
  // such hash (zero hash avoids lookup), the height is checked next. If the
  // height is 0 or in the future or the end block isn't specified, the quit
  // channel MUST be specified as Rescan will sync to the tip of the blockchain
  // and continue to stay in sync and pass notifications. This is enforced at
  // runtime.