Browse Source

fixed txshistory_test.go

feature/getPoolTxs
Mikelle 3 years ago
parent
commit
0511acd5e6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      api/txshistory_test.go

+ 1
- 1
api/txshistory_test.go

@ -325,7 +325,7 @@ func TestGetHistoryTxs(t *testing.T) {
assert.NoError(t, err) assert.NoError(t, err)
path = fmt.Sprintf( path = fmt.Sprintf(
"%s?fromAccountIndex=%s&toAccountIndex=%s&limit=%d", "%s?fromAccountIndex=%s&toAccountIndex=%s&limit=%d",
endpoint, idx, idx, limit,
endpoint, idxStr, idxStr, limit,
) )
err = doGoodReqPaginated(path, historydb.OrderAsc, &testTxsResponse{}, appendIter) err = doGoodReqPaginated(path, historydb.OrderAsc, &testTxsResponse{}, appendIter)
assert.NoError(t, err) assert.NoError(t, err)

Loading…
Cancel
Save