Skip to content

Commit 29c66ac

Browse files
committed
Silence false positive GCC warning
1 parent 543693b commit 29c66ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3593,7 +3593,7 @@ static RPCHelpMan rescanblockchain()
35933593
}
35943594

35953595
int start_height = 0;
3596-
Optional<int> stop_height;
3596+
Optional<int> stop_height = MakeOptional(false, int());
35973597
uint256 start_block;
35983598
{
35993599
LOCK(pwallet->cs_wallet);

0 commit comments

Comments
 (0)