build: update to latest version of btcwallet w/ taproot estimation fix

Fixes https://github.com/lightningnetwork/lnd/issues/6873
This commit is contained in:
Olaoluwa Osuntokun committed 2022-09-27 11:24:39 -07:00
1 parent 905dfed6dd
commit d062a5263e
5 files changed
+21 -15

No files matched your search

+4 -4
View File
@@ -338,11 +338,11 @@ func testOnchainFundRecovery(net *lntest.NetworkHarness, t *harnessTest) {
}
restoreCheckBalance(finalBalance, 9, 20, promptChangeAddr)
// We should expect a static fee of 50100 satoshis for spending 9 inputs
// (3 P2WPKH, 3 NP2WPKH, 3 P2TR) to two P2WPKH outputs. Carol should
// therefore only have one UTXO present (the change output) of
// We should expect a static fee of 36400 satoshis for spending 9
// inputs (3 P2WPKH, 3 NP2WPKH, 3 P2TR) to two P2WPKH outputs. Carol
// should therefore only have one UTXO present (the change output) of
// 9 - 8 - fee BTC.
const fee = 50100
const fee = 36400
restoreCheckBalance(finalBalance-minerAmt-fee, 1, 21, nil)
// Last of all, make sure we can also restore a node from the extended
+4 -4
View File
@@ -297,14 +297,14 @@ func psbtSendFromImportedAccount(t *harnessTest, srcNode, destNode,
case walletrpc.AddressType_TAPROOT_PUBKEY:
if account != defaultImportedAccount {
expTxFee = 190
expTxFee = 143
expChangeScriptType = txscript.WitnessV1TaprootTy
break
}
// Spends from the default imported account fall back to a P2WKH
// change. We'll want to change that, but in a separate PR.
expTxFee = 221
expTxFee = 131
expChangeScriptType = txscript.WitnessV0PubKeyHashTy
default:
@@ -464,14 +464,14 @@ func fundChanAndCloseFromImportedAccount(t *harnessTest, srcNode, destNode,
case walletrpc.AddressType_TAPROOT_PUBKEY:
if account != defaultImportedAccount {
expChanTxFee = 202
expChanTxFee = 155
expChangeScriptType = txscript.WitnessV1TaprootTy
break
}
// Spends from the default imported account fall back to a P2WKH
// change. We'll want to change that, but in a separate PR.
expChanTxFee = 233
expChanTxFee = 143
expChangeScriptType = txscript.WitnessV0PubKeyHashTy
default: