slpjs.Utils.isSlpAddress throws on string which isn't an slp address
Closed this issue · 1 comments
blockparty-sh commented
Maybe this is intended but it is unexpected for the name. I wouldn't expect this to throw on any input, and instead just return false for anything that isn't a slp address.
Example:
slpjs.Utils.isSlpAddress('lol')
Uncaught InvalidAddressError
blockparty-sh commented
@jcramer any thoughts on this?