Checks that the address to decode is a canonical representation (least significant bit is 00, i.e. the ending character is one of "AEIMQUY4"). Adds a test to check that non-canonical addresses are rejected.
Note that the server (and most goal commands) will reject non-canonical addresses, but our SDK clients don't seem to check this.
Checks that the address to decode is a canonical representation (least significant bit is 00, i.e. the ending character is one of "AEIMQUY4"). Adds a test to check that non-canonical addresses are rejected.
Note that the server (and most goal commands) will reject non-canonical addresses, but our SDK clients don't seem to check this.
Closes https://github.com/algorand/go-algorand-sdk/issues/274