diff options
author | ishaanam <ishaana.misra@gmail.com> | 2023-06-29 15:41:26 -0400 |
---|---|---|
committer | ishaanam <ishaana.misra@gmail.com> | 2024-03-14 17:38:39 -0400 |
commit | ffe5ff1fb622a8da11b66289e1b778e45e449811 (patch) | |
tree | 8e897b4078b6baefb9e3944b00be3b3de0e3f996 /src/wallet/transaction.cpp | |
parent | 180973a94180f9849bf7cb0dab7c9177a942efb8 (diff) | |
download | bitcoin-ffe5ff1fb622a8da11b66289e1b778e45e449811.tar.xz |
scripted-diff: wallet: s/TxStateConflicted/TxStateBlockConflicted
-BEGIN VERIFY SCRIPT-
sed -i 's/TxStateConflicted/TxStateBlockConflicted/g' src/wallet/wallet.cpp src/wallet/interfaces.cpp src/wallet/transaction.h src/wallet/transaction.cpp
sed -i 's/isConflicted/isBlockConflicted/g' src/wallet/transaction.h src/wallet/wallet.cpp
-END VERIFY SCRIPT-
Diffstat (limited to 'src/wallet/transaction.cpp')
-rw-r--r-- | src/wallet/transaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/transaction.cpp b/src/wallet/transaction.cpp index 6777257e53..561880482f 100644 --- a/src/wallet/transaction.cpp +++ b/src/wallet/transaction.cpp @@ -45,7 +45,7 @@ void CWalletTx::updateState(interfaces::Chain& chain) }; if (auto* conf = state<TxStateConfirmed>()) { lookup_block(conf->confirmed_block_hash, conf->confirmed_block_height, m_state); - } else if (auto* conf = state<TxStateConflicted>()) { + } else if (auto* conf = state<TxStateBlockConflicted>()) { lookup_block(conf->conflicting_block_hash, conf->conflicting_block_height, m_state); } } |