From db41aed2b83a69801e2dae9e2943c6049115db93 Mon Sep 17 00:00:00 2001 From: waynewyang Date: Wed, 23 Oct 2019 10:39:45 +0800 Subject: [PATCH] fix annotation for Initactor.Exec --- 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 0e259f2e2..64a154b71 100644 --- a/chain/actors/actor_init.go +++ b/chain/actors/actor_init.go @@ -94,7 +94,7 @@ func (ia InitActor) Exec(act *types.Actor, vmctx types.VMContext, p *ExecParams) "cannot launch actor instance that is not a builtin actor") } - // Ensure that singeltons can be only launched once. + // Ensure that singletons can be only launched once. // TODO: do we want to enforce this? If so how should actors be marked as such? if IsSingletonActor(p.Code) { return nil, aerrors.New(1, "cannot launch another actor of this type")