From d117cb61b6b86e7a7efa8897c8c5c640e6b1f41c Mon Sep 17 00:00:00 2001 From: whyrusleeping Date: Thu, 30 Jan 2020 21:20:57 -0800 Subject: [PATCH] change withUpdates to match fork height logic --- chain/actors/forks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/actors/forks.go b/chain/actors/forks.go index 46f8cafd8..3cc5d5b74 100644 --- a/chain/actors/forks.go +++ b/chain/actors/forks.go @@ -26,7 +26,7 @@ func withUpdates(updates ...update) interface{} { vmctx := args[1].Interface().(types.VMContext) for _, u := range updates { - if vmctx.BlockHeight() >= u.start { + if vmctx.BlockHeight() > u.start { return reflect.ValueOf(u.method).Call(args) } }