mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 09:16:47 +00:00
fix XRPL_ASSERT(false) to UNREACHABLE
This commit is contained in:
@@ -204,10 +204,7 @@ getLedgerEntrySponsorField(T const& sle, AccountID const& owner)
|
||||
return sfLowSponsor;
|
||||
}
|
||||
// LCOV_EXCL_START
|
||||
XRPL_ASSERT(
|
||||
false,
|
||||
"Should not happen. Owner should be checked before calling "
|
||||
"this function.");
|
||||
UNREACHABLE("Should not happen. Owner should be checked before calling this function.");
|
||||
// LCOV_EXCL_STOP
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user