forked from cerc-io/plugeth
f538d15241
This PR fixes this, moving domain.ChainId from the map's initializer down to a separate if statement which checks the existance of ChainId's value, similar to the rest of the fields, before adding it. I've also included a new test to demonstrate the issue |
||
---|---|---|
.. | ||
abihelper_test.go | ||
abihelper.go | ||
api_test.go | ||
api.go | ||
auditlog.go | ||
cliui.go | ||
signed_data_test.go | ||
signed_data.go | ||
stdioui.go | ||
types.go | ||
uiapi.go | ||
validation_test.go | ||
validation.go |