OSDN Git Service

clean the account utxo struct (#221)
[bytom/bytom.git] / integration_test / standard_transaction_test.go
index 5a5febe..5527abc 100644 (file)
@@ -58,7 +58,7 @@ func TestP2PKH(t *testing.T) {
                t.Fatal(err)
        }
 
-       utxo := account.NewUtxo()
+       utxo := &account.UTXO{}
        utxo.OutputID = bc.Hash{V0: 1}
        utxo.SourceID = bc.Hash{V0: 2}
        utxo.AssetID = *consensus.BTMAssetID