Skip to content

Commit

Permalink
Fix clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
gregtatcam committed Oct 3, 2024
1 parent 3cc7003 commit 069273c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libxrpl/protocol/STAmount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -726,8 +726,7 @@ STAmount::canonicalize()
}

if (native() && mValue > cMaxNativeN)
Throw<std::runtime_error>(
"Native currency amount out of range");
Throw<std::runtime_error>("Native currency amount out of range");
else if (!native() && mValue > maxMPTokenAmount)
Throw<std::runtime_error>("MPT amount out of range");

Check warning on line 731 in src/libxrpl/protocol/STAmount.cpp

View check run for this annotation

Codecov / codecov/patch

src/libxrpl/protocol/STAmount.cpp#L731

Added line #L731 was not covered by tests

Expand Down

0 comments on commit 069273c

Please sign in to comment.