mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 11:35:53 +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)
|
if (!pathDesignation)
|
||||||
return false;
|
return boost::none;
|
||||||
|
|
||||||
auto const needsHistoricalPath =
|
auto const needsHistoricalPath =
|
||||||
*pathDesignation == PathDesignation::historical;
|
*pathDesignation == PathDesignation::historical;
|
||||||
|
|||||||
Reference in New Issue
Block a user