diff options
author | ishaanam <ishaana.misra@gmail.com> | 2023-03-01 13:46:23 -0500 |
---|---|---|
committer | ishaanam <ishaana.misra@gmail.com> | 2024-03-15 18:03:42 -0400 |
commit | d64922b5903e5ffc8d2ce0e6761f99f173b60800 (patch) | |
tree | e1bb5c6bbbef6e04657dfe3d8833811ae50b7356 /src/wallet/interfaces.cpp | |
parent | ffe5ff1fb622a8da11b66289e1b778e45e449811 (diff) | |
download | bitcoin-d64922b5903e5ffc8d2ce0e6761f99f173b60800.tar.xz |
wallet refactor: use CWalletTx member functions to determine tx state
Diffstat (limited to 'src/wallet/interfaces.cpp')
-rw-r--r-- | src/wallet/interfaces.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/interfaces.cpp b/src/wallet/interfaces.cpp index 6405fb9bba..d33e6f3873 100644 --- a/src/wallet/interfaces.cpp +++ b/src/wallet/interfaces.cpp @@ -101,7 +101,7 @@ WalletTxStatus MakeWalletTxStatus(const CWallet& wallet, const CWalletTx& wtx) result.is_trusted = CachedTxIsTrusted(wallet, wtx); result.is_abandoned = wtx.isAbandoned(); result.is_coinbase = wtx.IsCoinBase(); - result.is_in_main_chain = wallet.IsTxInMainChain(wtx); + result.is_in_main_chain = wtx.isConfirmed(); return result; } |