diff options
Diffstat (limited to 'ledger/acctupdates.go')
-rw-r--r-- | ledger/acctupdates.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ledger/acctupdates.go b/ledger/acctupdates.go index 62cbd6b07..c1529e2a7 100644 --- a/ledger/acctupdates.go +++ b/ledger/acctupdates.go @@ -624,6 +624,11 @@ func (aul *accountUpdatesLedgerEvaluator) GenesisHash() crypto.Digest { return aul.au.ledger.GenesisHash() } +// GenesisProto returns the genesis consensus params +func (aul *accountUpdatesLedgerEvaluator) GenesisProto() config.ConsensusParams { + return aul.au.ledger.GenesisProto() +} + // CompactCertVoters returns the top online accounts at round rnd. func (aul *accountUpdatesLedgerEvaluator) CompactCertVoters(rnd basics.Round) (voters *ledgercore.VotersForRound, err error) { return aul.au.voters.getVoters(rnd) |