xrpl.js icon indicating copy to clipboard operation
xrpl.js copied to clipboard

Better error message in `submitAndWait` for incorrectly serialized transaction

Open mvadari opened this issue 2 years ago • 0 comments

Currently, if you pass in an incorrectly serialized transaction (say, in base64), you get the error

ValidationError: Wallet must be provided when submitting an unsigned transaction

This is very confusing and unhelpful.

The method should probably also strip whitespace at the beginning and end of the tx blob.

mvadari avatar Nov 02 '22 18:11 mvadari