diff options
author | Aaron Buchwald <[email protected]> | 2020-11-29 14:38:44 -0500 |
---|---|---|
committer | Aaron Buchwald <[email protected]> | 2020-11-29 14:38:44 -0500 |
commit | 627bc7f7fd75d385e623c3c5177c5aeb639a0e52 (patch) | |
tree | dba8e4bec0043766b5367c7409772fa7b653b539 /plugin/evm/vm.go | |
parent | 1ed9c772e948720b02d38a233c9f63a7a95ee761 (diff) |
Address comments
Diffstat (limited to 'plugin/evm/vm.go')
-rw-r--r-- | plugin/evm/vm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go index aaf7f10..58ab600 100644 --- a/plugin/evm/vm.go +++ b/plugin/evm/vm.go @@ -131,9 +131,9 @@ func init() { c.RegisterType(&secp256k1fx.Credential{}), c.RegisterType(&secp256k1fx.Input{}), c.RegisterType(&secp256k1fx.OutputOwners{}), + Codec.RegisterCodec(codecVersion, c), ) - errs.Add(Codec.RegisterCodec(0, c)) if errs.Errored() { panic(errs.Err) } |