diff --git a/createtx_test.go b/createtx_test.go index 1f9274a..92d4b2b 100644 --- a/createtx_test.go +++ b/createtx_test.go @@ -64,7 +64,7 @@ func TestFakeTxs(t *testing.T) { pairs := map[string]uint64{ "17XhEvq9Nahdj7Xe1nv6oRe1tEmaHUuynH": 5000, } - rawtx, _, err := btcw.txToPairs(pairs, 100, 0) + rawtx, _, _, err := btcw.txToPairs(pairs, 100, 0) if err != nil { t.Errorf("Tx creation failed: %s", err) return diff --git a/tx/tx_test.go b/tx/tx_test.go index 57d236b..99565ef 100644 --- a/tx/tx_test.go +++ b/tx/tx_test.go @@ -85,7 +85,7 @@ var ( func TestUtxoWriteRead(t *testing.T) { utxo1 := &Utxo{ - Addr: [ripemd160.Size]byte{ + AddrHash: [ripemd160.Size]byte{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, },