mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-04 18:55:49 +00:00
Fix improper promotion of bool on return
This commit is contained in:
committed by
manojsdoshi
parent
03c809371a
commit
6968da153c
@@ -265,7 +265,7 @@ DatabaseShardImp::prepareLedger(std::uint32_t validLedgerSeq)
|
||||
}();
|
||||
|
||||
if (!pathDesignation)
|
||||
return false;
|
||||
return boost::none;
|
||||
|
||||
auto const needsHistoricalPath =
|
||||
*pathDesignation == PathDesignation::historical;
|
||||
|
||||
Reference in New Issue
Block a user