Do not include the burnt funds actor as a genesis account actor

This commit is contained in:
Aayush Rajasekaran 2020-08-13 20:19:47 -04:00
parent 6c1ecb4d16
commit 5702ea236c

View File

@ -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
})