Skip to content

Commit

Permalink
Fix improper promotion of bool on return
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelportilla authored and manojsdoshi committed Oct 14, 2020
1 parent 03c8093 commit 6968da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ripple/nodestore/impl/DatabaseShardImp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ DatabaseShardImp::prepareLedger(std::uint32_t validLedgerSeq)
}();

if (!pathDesignation)
return false;
return boost::none;

auto const needsHistoricalPath =
*pathDesignation == PathDesignation::historical;
Expand Down

0 comments on commit 6968da1

Please sign in to comment.