elrond-sdk-erdjs
elrond-sdk-erdjs copied to clipboard
Don't allow undefined in Address constructor
Currently this code is allowed:
new Address(undefined);
But this code doesn't make sense and is bug-prone. I discovered several bugs in my code because I passed undefined
to Address
constructor.