Skip to content

Commit 89a116d

Browse files
author
MarcoFalke
committed
Merge #13773: wallet: Fix accidental use of the comma operator
aecd615 wallet: Fix accidental use of the comma operator (practicalswift) Pull request description: Fix accidental use of the comma operator. Tree-SHA512: 035bf497343996c67a2fe25f367d1a416811b518cb9c7a18ce92355627871614e40db699e869881f941bc51e47fb94022f5ae13e7f01462ef35249b2dd3647a0
2 parents f58674a + aecd615 commit 89a116d

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)