mirror of
https://github.com/trezor/blockbook.git
synced 2026-03-06 15:48:01 +01:00
Fix incorrect parameter usage in socketio getAddressTxids
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user