Fix tests for new NewWallet func signature.
This commit is contained in:
parent
f0c649b7ac
commit
21afda2506
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ func TestBtcAddressSerializer(t *testing.T) {
|
||||||
func TestWalletCreationSerialization(t *testing.T) {
|
func TestWalletCreationSerialization(t *testing.T) {
|
||||||
createdAt := &BlockStamp{}
|
createdAt := &BlockStamp{}
|
||||||
w1, err := NewWallet("banana wallet", "A wallet for testing.",
|
w1, err := NewWallet("banana wallet", "A wallet for testing.",
|
||||||
[]byte("banana"), btcwire.MainNet, createdAt)
|
[]byte("banana"), btcwire.MainNet, createdAt, 100)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Error("Error creating new wallet: " + err.Error())
|
t.Error("Error creating new wallet: " + err.Error())
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue