From 0968cfdabc2331f28c8fe88b7b7ed938da14d94b Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Wed, 18 Apr 2018 20:04:12 -0700 Subject: [PATCH] waddrmgr/common_test: use new wallet Create api with birthday --- waddrmgr/common_test.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/waddrmgr/common_test.go b/waddrmgr/common_test.go index 22d5c71..c6057eb 100644 --- a/waddrmgr/common_test.go +++ b/waddrmgr/common_test.go @@ -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 }