This repo contains the core code for Toast Wallet. It is built for iOS, Android and browser directly from this repository. PC builds are built from the browser version using Electron.
Currently, when a user tries to make a transaction without specifying a destination tag, the wallet automatically sets the destination tag to a non-null default of 0. This can cause problems because destination_tag=null is different from destination_tag=0.
What?
This PR adds validation and parsing to the destination tag filed so that blank destination tags are coalesced to null.
Why?
Currently, when a user tries to make a transaction without specifying a destination tag, the wallet automatically sets the destination tag to a non-null default of
0
. This can cause problems becausedestination_tag=null
is different fromdestination_tag=0
.What?
This PR adds validation and parsing to the destination tag filed so that blank destination tags are coalesced to
null
.Demo
See video here: https://youtu.be/Sk16qL6Nt80