rpc: set default values in getutxotransfers
This commit is contained in:
parent
fe5e5ff44a
commit
02033f8355
2 changed files with 9 additions and 2 deletions
|
@ -1138,7 +1138,7 @@ func testRPCProtocol(t *testing.T, doRPCCall func(string, string, *testing.T) []
|
|||
if asset != "" {
|
||||
ps = append(ps, fmt.Sprintf("%q", asset))
|
||||
}
|
||||
if start != 0 {
|
||||
if start >= 0 {
|
||||
if start > int(e.chain.HeaderHeight()) {
|
||||
ps = append(ps, strconv.Itoa(int(time.Now().Unix())))
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue