Skip to content

Commit 1a30f90

Browse files
committed
Revert "staticaddr: remove an unused interface method"
This reverts commit cc5113d.
1 parent be8c027 commit 1a30f90

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

staticaddr/withdraw/interface.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88
"github.com/lightninglabs/loop/staticaddr/address"
99
"github.com/lightninglabs/loop/staticaddr/deposit"
1010
"github.com/lightninglabs/loop/staticaddr/script"
11+
"github.com/lightningnetwork/lnd/lnwallet"
1112
)
1213

1314
// Store is the database interface that is used to store and retrieve
@@ -31,6 +32,10 @@ type AddressManager interface {
3132
// GetStaticAddress returns the deposit address for the given
3233
// client and server public keys.
3334
GetStaticAddress(ctx context.Context) (*script.StaticAddress, error)
35+
36+
// ListUnspent returns a list of utxos at the static address.
37+
ListUnspent(ctx context.Context, minConfs,
38+
maxConfs int32) ([]*lnwallet.Utxo, error)
3439
}
3540

3641
type DepositManager interface {

0 commit comments

Comments
 (0)