Closed cubismic closed 5 years ago
Current implementation uses string a lot to follow the types of codechain-rpc-js, codechain-primitives-js.
string
But Golang encourages to use byte slice rather than string for many reasons.
So most of the string types in this repository should be changed to []byte
[]byte
These files contain functions that gets or returns string
@gurrpi You can try this issue.
@majecty Thanks for your considering. I'll take care of this. :)
Current implementation uses
string
a lot to follow the types of codechain-rpc-js, codechain-primitives-js.But Golang encourages to use byte slice rather than string for many reasons.
So most of the
string
types in this repository should be changed to[]byte