elesto-dao / elesto

The ElestoDAO node
Apache License 2.0
4 stars 1 forks source link

CompactJSON return should be []byte instead string #134

Closed singhhp1069 closed 2 years ago

singhhp1069 commented 2 years ago

Issue

https://github.com/elesto-dao/elesto/blob/9c57d8c395f049220b8f96cbc0f81064efdb8bed/x/credential/credential.go#L33-L37

CompactJSON should return a []byte instead string

fix

  1. Change return type in helpers.go
  2. Type Fix in msg_validation.go
  3. Type Fix in msg_server.go
noandrea commented 2 years ago

yes, it is addressed in https://github.com/elesto-dao/elesto/pull/120