aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/vm.go
diff options
context:
space:
mode:
authorAaron Buchwald <[email protected]>2020-11-29 14:38:44 -0500
committerAaron Buchwald <[email protected]>2020-11-29 14:38:44 -0500
commit627bc7f7fd75d385e623c3c5177c5aeb639a0e52 (patch)
treedba8e4bec0043766b5367c7409772fa7b653b539 /plugin/evm/vm.go
parent1ed9c772e948720b02d38a233c9f63a7a95ee761 (diff)
Address comments
Diffstat (limited to 'plugin/evm/vm.go')
-rw-r--r--plugin/evm/vm.go2
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)
}