Make tests pass again.

This commit is contained in:
Josh Rickmar 2013-11-22 11:40:24 -05:00
parent 38ed238a7f
commit a05e9b7a3e
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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