build: update to latest btcd and btcwallet versions
This update introduces backwards compatibility for btcd nodes running versions prior to v0.20.1-beta.
This commit is contained in:
3 files changed
+13
-8
No files matched your search
@@ -304,7 +304,7 @@ func (b *BtcWallet) SendOutputs(outputs []*wire.TxOut,
|
||||
if len(outputs) < 1 {
|
||||
return nil, lnwallet.ErrNoOutputs
|
||||
}
|
||||
return b.wallet.SendOutputs(outputs, defaultAccount, 1, feeSatPerKB)
|
||||
return b.wallet.SendOutputs(outputs, defaultAccount, 1, feeSatPerKB, "")
|
||||
}
|
||||
|
||||
// CreateSimpleTx creates a Bitcoin transaction paying to the specified
|
||||
@@ -434,7 +434,7 @@ func (b *BtcWallet) ListUnspentWitness(minConfs, maxConfs int32) (
|
||||
// (currently ErrDoubleSpend). If the transaction is already published to the
|
||||
// network (either in the mempool or chain) no error will be returned.
|
||||
func (b *BtcWallet) PublishTransaction(tx *wire.MsgTx) error {
|
||||
if err := b.wallet.PublishTransaction(tx); err != nil {
|
||||
if err := b.wallet.PublishTransaction(tx, ""); err != nil {
|
||||
|
||||
// If we failed to publish the transaction, check whether we
|
||||
// got an error of known type.
|
||||
|
||||
Reference in new issue
Block a user