lnwallet+lntest+mod: bump btcwallet to export ScriptForOutput

This commit is contained in:
Oliver Gugger
2022-01-05 11:04:16 +01:00
parent 1902ad724e
commit 8c77829c46
5 changed files with 27 additions and 3 deletions

View File

@@ -53,6 +53,15 @@ func (w *WalletController) FetchInputInfo(
return utxo, nil
}
// ScriptForOutput returns the address, witness program and redeem script for a
// given UTXO. An error is returned if the UTXO does not belong to our wallet or
// it is not a managed pubKey address.
func (w *WalletController) ScriptForOutput(*wire.TxOut) (
waddrmgr.ManagedPubKeyAddress, []byte, []byte, error) {
return nil, nil, nil, nil
}
// ConfirmedBalance currently returns dummy values.
func (w *WalletController) ConfirmedBalance(int32, string) (btcutil.Amount,
error) {