Closed kastolars closed 5 years ago
Change block and contract Equals functions to use receivers instead of two parameters.
block
contract
Equals
Example of how publickey.go does this: https://github.com/SIGBlockchain/project_aurum/blob/dev/internal/publickey/publickey.go#L28
publickey.go
Block
Contract
Completed
Change
block
andcontract
Equals
functions to use receivers instead of two parameters.Example of how
publickey.go
does this: https://github.com/SIGBlockchain/project_aurum/blob/dev/internal/publickey/publickey.go#L28Block
Equals function uses receiverContract
Equals function uses receiver