From e25f5c755a7c46b250c7b5fe38f52bf00a62b0e1 Mon Sep 17 00:00:00 2001 From: waynewyang Date: Mon, 21 Oct 2019 11:06:59 +0800 Subject: [PATCH] fix:IsBuiltinActor --- chain/actors/actor_init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/actors/actor_init.go b/chain/actors/actor_init.go index eebec4c26..0e259f2e2 100644 --- a/chain/actors/actor_init.go +++ b/chain/actors/actor_init.go @@ -162,7 +162,7 @@ func (ia InitActor) Exec(act *types.Actor, vmctx types.VMContext, p *ExecParams) func IsBuiltinActor(code cid.Cid) bool { switch code { - case StorageMinerCodeCid, StorageMinerCodeCid, AccountActorCodeCid, InitActorCodeCid, MultisigActorCodeCid, PaymentChannelActorCodeCid: + case StorageMarketActorCodeCid, StorageMinerCodeCid, AccountActorCodeCid, InitActorCodeCid, MultisigActorCodeCid, PaymentChannelActorCodeCid: return true default: return false