From 05bd7ed7deab25741c0aeebd23a51c2d0fd6208d Mon Sep 17 00:00:00 2001 From: josie Date: Fri, 16 Aug 2024 12:40:01 +0200 Subject: [PATCH] add p2anchor output in switch --- src/wallet/spend.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wallet/spend.cpp b/src/wallet/spend.cpp index df50c64d9514e..e03a8635aea04 100644 --- a/src/wallet/spend.cpp +++ b/src/wallet/spend.cpp @@ -1079,6 +1079,7 @@ bool IsInputForSharedSecretDerivation(const CScript& input, const CWallet& walle case TxoutType::MULTISIG: case TxoutType::PUBKEY: case TxoutType::NONSTANDARD: + case TxoutType::ANCHOR: case TxoutType::NULL_DATA: { return false; } case TxoutType::WITNESS_UNKNOWN: // This should never happen, as this step takes place after coin selection