diff --git a/api/txshistory_test.go b/api/txshistory_test.go index 6735f15..0fc638a 100644 --- a/api/txshistory_test.go +++ b/api/txshistory_test.go @@ -325,7 +325,7 @@ func TestGetHistoryTxs(t *testing.T) { assert.NoError(t, err) path = fmt.Sprintf( "%s?fromAccountIndex=%s&toAccountIndex=%s&limit=%d", - endpoint, idx, idx, limit, + endpoint, idxStr, idxStr, limit, ) err = doGoodReqPaginated(path, historydb.OrderAsc, &testTxsResponse{}, appendIter) assert.NoError(t, err)