-
Notifications
You must be signed in to change notification settings - Fork 539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serialized transaction does not match original txJSON. #1237
Comments
Actually I saw the difference...in one the amount is "600", in the other "600.00" so the string is actually different. |
We added this safety check after an earlier issue where specifying a fractional number of XRP drops could cause an incorrect number to be encoded in the serialized transaction. I think it is safest if you specify “600”. Then there is no risk that the encoded transaction would be different from what you expected. In this case it’s probably OK that 600.00 gets encoded as 600. But the code doesn’t automatically assume that this is always safe. It returns this error so that you can truncate the value to 600 yourself. |
Hi @intelliot. I'm not sure if this is a bug but when I try to using
} Notice how the
and this is the error when try to prepare the payment:
} Probably |
When I'm sending a payment this happens: Serialized transaction does not match original txJSON.
This is the transaction from preparePayment:
This is the error reporting the difference:
It seems to me that the two are identical. I don't see the difference so maybe lodash_isequal_1.default in sign.js is doing something wrong.
The text was updated successfully, but these errors were encountered: