Merge pull request #3047 from filecoin-project/asr/burn-genesis
Do not include the burnt funds actor as a genesis account actor
This commit is contained in:
commit
71aa3a59d9
@ -857,6 +857,7 @@ func (sm *StateManager) setupGenesisActors(ctx context.Context) error {
|
|||||||
return xerrors.Errorf("decoding address: %w", err)
|
return xerrors.Errorf("decoding address: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if kaddr != builtin.BurntFundsActorAddr {
|
||||||
kid, err := sTree.LookupID(kaddr)
|
kid, err := sTree.LookupID(kaddr)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return xerrors.Errorf("resolving address: %w", err)
|
return xerrors.Errorf("resolving address: %w", err)
|
||||||
@ -867,6 +868,7 @@ func (sm *StateManager) setupGenesisActors(ctx context.Context) error {
|
|||||||
initBal: act.Balance,
|
initBal: act.Balance,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user