OSDN Git Service

add api for vote num
[bytom/vapor.git] / wallet / utxo_test.go
index e5fb1b8..c5aad35 100644 (file)
@@ -197,7 +197,7 @@ func TestGetAccountUtxos(t *testing.T) {
 
                w.AccountMgr = account.NewManager(testDB, nil)
                w.AccountMgr.AddUnconfirmedUtxo(c.unconfirmedUtxos)
-               gotUtxos := w.GetAccountUtxos("", c.id, c.unconfirmed, c.isSmartContract)
+               gotUtxos := w.GetAccountUtxos("", c.id, c.unconfirmed, c.isSmartContract, false)
                if !testutil.DeepEqual(gotUtxos, c.wantUtxos) {
                        t.Errorf("case %d: got %v want %v", i, gotUtxos, c.wantUtxos)
                }