loom-js
loom-js copied to clipboard
[DO NOT MERGE] Fix TransferGateway.withdrawalReceiptAsync() to handle missing token contract address
trafficstars
Fix TransferGateway.withdrawalReceiptAsync() to only unmarshal the token contract address when it's available. When withdrawing LOOM via the Binance Gateway the token contract address is not set on the withdrawal receipt.
This PR is just for backporting the fix to v1.60.X, the same fix has been applied to master in https://github.com/loomnetwork/loom-js/pull/327