Fix tests for new NewWallet func signature.

This commit is contained in:
Josh Rickmar 2014-01-15 18:23:02 -05:00
parent f0c649b7ac
commit 21afda2506

View file

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