mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-24 07:30:30 +00:00
fix: Fix non-canonical MPT amount (#7117)
Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
dfb9b8ed9a
commit
dcd2ff0b5f
@@ -973,7 +973,7 @@ public:
|
||||
|
||||
// Offers with negative amounts
|
||||
{
|
||||
env(offer(alice, -usd(1'000), XRP(1'000)), Ter(temBAD_OFFER));
|
||||
env(offer(alice, -usd(1'000), XRP(1'000)), Ter(temBAD_AMOUNT));
|
||||
env.require(Owners(alice, 1), offers(alice, 0));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user