lnwallet: expose optional account filter for several WalletController methods

This commit is contained in:
Wilmer Paulino
2021-02-19 17:41:50 -08:00
parent f38bf4d7fa
commit f91e7cde59
14 changed files with 138 additions and 76 deletions

View File

@@ -87,7 +87,7 @@ func (b *mockBackend) PublishTransaction(tx *wire.MsgTx, _ string) error {
return err
}
func (b *mockBackend) ListUnspentWitness(minconfirms, maxconfirms int32) (
func (b *mockBackend) ListUnspentWitnessFromDefaultAccount(minconfirms, maxconfirms int32) (
[]*lnwallet.Utxo, error) {
b.lock.Lock()
defer b.lock.Unlock()