Files
sylearn c592d3fb7a fix: fold truncate matching into has_prefix
Per review, drop the separate truncate mode and use its logic for
has_prefix instead. Order amounts are stored without trailing zeros
(1.50 as "1.5"), so the plain string prefix check let the 1.5 order
claim a 1.51 payment meant for a concurrent order on the same address.
Truncate the received amount to the larger of the atom precision and
the order's own decimals, then compare exactly: overpayment below the
atom precision still matches, underpayment and overpayment of a full
atom no longer do.
2026-11-01 22:49:44 +09:00
..
2026-09-30 15:00:44 +08:00
2026-04-21 10:06:48 +08:00
2026-02-09 15:06:35 +08:00
2026-04-30 18:43:21 +08:00
2026-02-09 15:06:35 +08:00
2026-05-14 16:43:50 +08:00