lnwallet: modify FetchInputInfo to return additional information for utxos

This commit is contained in:
Wilmer Paulino committed 2019-08-22 13:49:41 -07:00
1 parent 8b398bdbd1
commit 9e8a1707cc
5 files changed
+54 -20

No files matched your search

+1 -1
View File
@@ -135,7 +135,7 @@ type WalletController interface {
// passed outpoint. If the base wallet determines this output is under
// its control, then the original txout should be returned. Otherwise,
// a non-nil error value of ErrNotMine should be returned instead.
FetchInputInfo(prevOut *wire.OutPoint) (*wire.TxOut, error)
FetchInputInfo(prevOut *wire.OutPoint) (*Utxo, error)
// ConfirmedBalance returns the sum of all the wallet's unspent outputs
// that have at least confs confirmations. If confs is set to zero,