mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2025-01-20 08:41:11 +00:00
Fixed function name
This commit is contained in:
parent
40733d45d8
commit
902a56f158
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user