waddrmgr/common_test: use new wallet Create api with birthday

This commit is contained in:
Conner Fromknecht 2018-04-18 20:04:12 -07:00 committed by Olaoluwa Osuntokun
parent 57b37d38f6
commit 0968cfdabc

View file

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