perun-network / erdstall-ts-sdk

TypeScript client SDK to interact with Erdstall.
Apache License 2.0
5 stars 2 forks source link

Change addresses to lower-case when JSON marshalling `Values` #97

Closed sebastianst closed 2 years ago

sebastianst commented 2 years ago

We found out that the standard format for addresses in JSONs use all-lower-case 0x prefixed strings, not the checksum strings. So this has to be changed when marshalling addresses, in particular maps that use addresses as keys, like Values.

As part of this issue, it should be made sure that Values keys are always in lower-case format.

This also has to be changed in the Erdstall operator (https://github.com/perun-network/erdstall-ext/issues/96).