Initially I thought there was an error and the load event was not correctly dispatched. It looks like we omitted this. Now we dispatch the load event if the wallet address is valid.
Additional changes:
small refactoring for the wallet address check
update the checkWalletAddressUrlFormat function since we do not need to check for SPSP endpoints
Context
Closes #365.
Changes proposed in this pull request
Initially I thought there was an error and the
load
event was not correctly dispatched. It looks like we omitted this. Now we dispatch theload
event if the wallet address is valid.Additional changes:
checkWalletAddressUrlFormat
function since we do not need to check for SPSP endpoints