diff --git a/src/libxrpl/tx/transactors/Sponsor/SponsorshipTransfer.cpp b/src/libxrpl/tx/transactors/Sponsor/SponsorshipTransfer.cpp index 50bdb5aac0..c914de5085 100644 --- a/src/libxrpl/tx/transactors/Sponsor/SponsorshipTransfer.cpp +++ b/src/libxrpl/tx/transactors/Sponsor/SponsorshipTransfer.cpp @@ -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: