Skip to content

Commit

Permalink
Merge pull request #74 from tnakagawa/fix-listunspent
Browse files Browse the repository at this point in the history
listunspent add forth parameter
  • Loading branch information
AkioNak authored Jun 22, 2017
2 parents b6dcf3f + 4eebb8e commit 5fbb126
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rpc/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (rpc *Rpc) SearchUnspent(lockList LockList, requestAsset string, requestAmo
var ul UnspentList
var utxos = make(UnspentList, 0)

_, err := rpc.RequestAndUnmarshalResult(&ul, "listunspent", 1, 9999999, []string{}, requestAsset)
_, err := rpc.RequestAndUnmarshalResult(&ul, "listunspent", 1, 9999999, []string{}, false, requestAsset)
if err != nil {
return utxos, err
}
Expand Down Expand Up @@ -183,7 +183,7 @@ func (rpc *Rpc) SearchMinimalUnspent(lockList LockList, requestAsset string, bli
var ul UnspentList
var utxos UnspentList

_, err := rpc.RequestAndUnmarshalResult(&ul, "listunspent", 1, 9999999, []string{}, requestAsset)
_, err := rpc.RequestAndUnmarshalResult(&ul, "listunspent", 1, 9999999, []string{}, false, requestAsset)
if err != nil {
return utxos, err
}
Expand Down

0 comments on commit 5fbb126

Please sign in to comment.