mirror of
https://github.com/LBRYFoundation/lbcwallet.git
synced 2025-08-23 17:47:29 +00:00
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
|
// This will pass validation because btcscript is unaware of invalid
|
||||||
// tx inputs, however, this example would fail in btcd.
|
// tx inputs, however, this example would fail in btcd.
|
||||||
utxo := &tx.Utxo{}
|
utxo := &tx.Utxo{}
|
||||||
addr, err := w.NextUnusedAddress()
|
addr, err := w.NextChainedAddress(&wallet.BlockStamp{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Errorf("Cannot get next address: %s", err)
|
t.Errorf("Cannot get next address: %s", err)
|
||||||
return
|
return
|
||||||
|
|
|
@ -42,7 +42,7 @@ func TestBtcAddressSerializer(t *testing.T) {
|
||||||
t.Error(err.Error())
|
t.Error(err.Error())
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
addr, err := newBtcAddress(privKey, nil, &BlockStamp{})
|
addr, err := newBtcAddress(privKey, nil, &BlockStamp{}, true)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Error(err.Error())
|
t.Error(err.Error())
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Reference in a new issue