Fixed function name

This commit is contained in:
Shane Bammel 2021-11-18 12:37:44 -06:00
parent 40733d45d8
commit 902a56f158
2 changed files with 3 additions and 3 deletions

View File

@ -762,7 +762,7 @@ func (p *Parlia) Finalize(chain consensus.ChainHeaderReader, header *types.Heade
if p.chainConfig.IsPrimordialPulseBlock(number) {
// handle initial allocations for the primordialPulse fork
p.primordialPulseAlloctions(state)
p.primordialPulseAllocations(state)
}
}
@ -830,7 +830,7 @@ func (p *Parlia) FinalizeAndAssemble(chain consensus.ChainHeaderReader, header *
if p.chainConfig.IsPrimordialPulseBlock(number) {
// handle initial allocations for the primordialPulse fork
p.primordialPulseAlloctions(state)
p.primordialPulseAllocations(state)
}
}

View File

@ -61,7 +61,7 @@ func (p *Parlia) getEpochValidatorBytes(header *types.Header, snap *Snapshot) ([
}
// Performs the initial allocations and balance adjustments for the PrimordialPulse fork.
func (p *Parlia) primordialPulseAlloctions(state *state.StateDB) {
func (p *Parlia) primordialPulseAllocations(state *state.StateDB) {
if p.config.Treasury != nil {
log.Info("Applying PrimordialPulse treasury allocation 💸")
state.AddBalance(common.HexToAddress(p.config.Treasury.Addr), (*big.Int)(p.config.Treasury.Balance))