mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 06:52:36 +01:00
interfaces: Remove unused is_final
This commit is contained in:
parent
dddd05e7a3
commit
888841ea8d
2 changed files with 0 additions and 2 deletions
|
@ -405,7 +405,6 @@ struct WalletTxStatus
|
||||||
int depth_in_main_chain;
|
int depth_in_main_chain;
|
||||||
unsigned int time_received;
|
unsigned int time_received;
|
||||||
uint32_t lock_time;
|
uint32_t lock_time;
|
||||||
bool is_final;
|
|
||||||
bool is_trusted;
|
bool is_trusted;
|
||||||
bool is_abandoned;
|
bool is_abandoned;
|
||||||
bool is_coinbase;
|
bool is_coinbase;
|
||||||
|
|
|
@ -90,7 +90,6 @@ WalletTxStatus MakeWalletTxStatus(const CWallet& wallet, const CWalletTx& wtx)
|
||||||
result.depth_in_main_chain = wallet.GetTxDepthInMainChain(wtx);
|
result.depth_in_main_chain = wallet.GetTxDepthInMainChain(wtx);
|
||||||
result.time_received = wtx.nTimeReceived;
|
result.time_received = wtx.nTimeReceived;
|
||||||
result.lock_time = wtx.tx->nLockTime;
|
result.lock_time = wtx.tx->nLockTime;
|
||||||
result.is_final = wallet.chain().checkFinalTx(*wtx.tx);
|
|
||||||
result.is_trusted = CachedTxIsTrusted(wallet, wtx);
|
result.is_trusted = CachedTxIsTrusted(wallet, wtx);
|
||||||
result.is_abandoned = wtx.isAbandoned();
|
result.is_abandoned = wtx.isAbandoned();
|
||||||
result.is_coinbase = wtx.IsCoinBase();
|
result.is_coinbase = wtx.IsCoinBase();
|
||||||
|
|
Loading…
Add table
Reference in a new issue