diff --git a/lnwallet/interface.go b/lnwallet/interface.go index ad5d2ecb..af86ebf3 100644 --- a/lnwallet/interface.go +++ b/lnwallet/interface.go @@ -151,9 +151,11 @@ type WalletController interface { // SendOutputs funds, signs, and broadcasts a Bitcoin transaction // paying out to the specified outputs. In the case the wallet has - // insufficient funds, or the outputs are non-standard, an error - // should be returned. - SendOutputs(outputs []*wire.TxOut) (*chainhash.Hash, error) + // insufficient funds, or the outputs are non-standard, an error should + // be returned. This method also takes the target fee expressed in + // sat/byte that should be used when crafting the transaction. + SendOutputs(outputs []*wire.TxOut, + feeSatPerByte btcutil.Amount) (*chainhash.Hash, error) // ListUnspentWitness returns all unspent outputs which are version 0 // witness programs. The 'confirms' parameter indicates the minimum