rpc: recognize the new unused prefix address types

This commit is contained in:
Olaoluwa Osuntokun committed 2019-03-05 15:35:28 -08:00
1 parent 8c1181af3b
commit 65cdb1294e
2 files changed
+38 -8

No files matched your search

+5
View File
@@ -226,6 +226,11 @@ func (m *mockWalletController) NewAddress(addrType lnwallet.AddressType,
m.rootKey.PubKey().SerializeCompressed(), &chaincfg.MainNetParams)
return addr, nil
}
func (*mockWalletController) LastUnusedAddress(addrType lnwallet.AddressType) (
btcutil.Address, error) {
return nil, nil
}
func (*mockWalletController) IsOurAddress(a btcutil.Address) bool {
return false
}