Make tests build again.
This commit is contained in:
parent
b1c246c01b
commit
a12eb62b4d
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue