go-nitro
go-nitro copied to clipboard
Zero address should be a constant
Zero address represent ETH in the state channels network. Extract this address to a constant.
Originally posted by @geoknee in https://github.com/statechannels/go-nitro/pull/763#discussion_r911141384
Following up:
It's not obvious if the same issue still exists in the code base. One approach could be to just ctrl+f common.Address{} and see if there are still any instances where it's used as the native-asset indicating address.