Do not include the burnt funds actor as a genesis account actor
This commit is contained in:
parent
6c1ecb4d16
commit
5702ea236c
@ -856,6 +856,7 @@ func (sm *StateManager) setupGenesisActors(ctx context.Context) error {
|
||||
return xerrors.Errorf("decoding address: %w", err)
|
||||
}
|
||||
|
||||
if kaddr != builtin.BurntFundsActorAddr {
|
||||
kid, err := sTree.LookupID(kaddr)
|
||||
if err != nil {
|
||||
return xerrors.Errorf("resolving address: %w", err)
|
||||
@ -866,6 +867,7 @@ func (sm *StateManager) setupGenesisActors(ctx context.Context) error {
|
||||
initBal: act.Balance,
|
||||
})
|
||||
}
|
||||
}
|
||||
return nil
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user