mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-01 09:35:48 +00:00
Enforce proper bounds of Amounts
This commit is contained in:
@@ -2875,6 +2875,15 @@
|
||||
"error": "value precision of 17 is greater than maximum iou precision of 16",
|
||||
"is_negative": false
|
||||
},
|
||||
{
|
||||
"test_json": {
|
||||
"currency": "USD",
|
||||
"value": "9999999999999999000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||
"issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji"
|
||||
},
|
||||
"type": "Amount",
|
||||
"error": "exponent is too large"
|
||||
},
|
||||
{
|
||||
"test_json": {
|
||||
"currency": "USD",
|
||||
|
||||
Reference in New Issue
Block a user