Make tests pass again.
This commit is contained in:
parent
38ed238a7f
commit
a05e9b7a3e
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ func TestFakeTxs(t *testing.T) {
|
|||
// This will pass validation because btcscript is unaware of invalid
|
||||
// tx inputs, however, this example would fail in btcd.
|
||||
utxo := &tx.Utxo{}
|
||||
addr, err := w.NextUnusedAddress()
|
||||
addr, err := w.NextChainedAddress(&wallet.BlockStamp{})
|
||||
if err != nil {
|
||||
t.Errorf("Cannot get next address: %s", err)
|
||||
return
|
||||
|
|
|
@ -42,7 +42,7 @@ func TestBtcAddressSerializer(t *testing.T) {
|
|||
t.Error(err.Error())
|
||||
return
|
||||
}
|
||||
addr, err := newBtcAddress(privKey, nil, &BlockStamp{})
|
||||
addr, err := newBtcAddress(privKey, nil, &BlockStamp{}, true)
|
||||
if err != nil {
|
||||
t.Error(err.Error())
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue