Fix incorrect parameter usage in socketio getAddressTxids

pull/7/head
Martin Boehm 2018-05-04 16:15:02 +02:00
parent d6b68174ee
commit 9401e0a61e
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ type resultAddressTxids struct {
func (s *SocketIoServer) getAddressTxids(addr []string, opts *addrOpts) (res resultAddressTxids, err error) {
txids := make([]string, 0)
lower, higher := uint32(opts.To), uint32(opts.Start)
lower, higher := uint32(opts.End), uint32(opts.Start)
for _, address := range addr {
if !opts.QueryMempoolOnly {
err = s.db.GetTransactions(address, lower, higher, func(txid string, vout uint32, isOutput bool) error {