rpc: recognize the new unused prefix address types

This commit is contained in:
Olaoluwa Osuntokun
2019-02-19 19:17:46 -08:00
parent 8c1181af3b
commit 65cdb1294e
2 changed files with 38 additions and 8 deletions

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
}