Make tests build again.

This commit is contained in:
Josh Rickmar 2013-10-22 10:03:11 -04:00
parent b1c246c01b
commit a12eb62b4d
2 changed files with 2 additions and 2 deletions

View file

@ -64,7 +64,7 @@ func TestFakeTxs(t *testing.T) {
pairs := map[string]uint64{ pairs := map[string]uint64{
"17XhEvq9Nahdj7Xe1nv6oRe1tEmaHUuynH": 5000, "17XhEvq9Nahdj7Xe1nv6oRe1tEmaHUuynH": 5000,
} }
rawtx, _, err := btcw.txToPairs(pairs, 100, 0) rawtx, _, _, err := btcw.txToPairs(pairs, 100, 0)
if err != nil { if err != nil {
t.Errorf("Tx creation failed: %s", err) t.Errorf("Tx creation failed: %s", err)
return return

View file

@ -85,7 +85,7 @@ var (
func TestUtxoWriteRead(t *testing.T) { func TestUtxoWriteRead(t *testing.T) {
utxo1 := &Utxo{ 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, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 16, 17, 18, 19,
}, },