Skip to content

Commit aecd615

Browse files
wallet: Fix accidental use of the comma operator
1 parent f58674a commit aecd615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ WalletTxStatus MakeWalletTxStatus(const CWalletTx& wtx)
9090
WalletTxStatus result;
9191
auto mi = ::mapBlockIndex.find(wtx.hashBlock);
9292
CBlockIndex* block = mi != ::mapBlockIndex.end() ? mi->second : nullptr;
93-
result.block_height = (block ? block->nHeight : std::numeric_limits<int>::max()),
93+
result.block_height = (block ? block->nHeight : std::numeric_limits<int>::max());
9494
result.blocks_to_maturity = wtx.GetBlocksToMaturity();
9595
result.depth_in_main_chain = wtx.GetDepthInMainChain();
9696
result.time_received = wtx.nTimeReceived;

0 commit comments

Comments
 (0)