waddrmgr/common_test: use new wallet Create api with birthday
This commit is contained in:
parent
57b37d38f6
commit
0968cfdabc
1 changed files with 5 additions and 2 deletions
|
@ -10,6 +10,7 @@ import (
|
|||
"os"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/roasbeef/btcd/chaincfg"
|
||||
"github.com/roasbeef/btcwallet/waddrmgr"
|
||||
|
@ -223,8 +224,10 @@ func setupManager(t *testing.T) (tearDownFunc func(), db walletdb.DB, mgr *waddr
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
err = waddrmgr.Create(ns, seed, pubPassphrase,
|
||||
privPassphrase, &chaincfg.MainNetParams, fastScrypt)
|
||||
err = waddrmgr.Create(
|
||||
ns, seed, pubPassphrase, privPassphrase,
|
||||
&chaincfg.MainNetParams, fastScrypt, time.Time{},
|
||||
)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue