diff options
Diffstat (limited to 'ledger/ledger_test.go')
-rw-r--r-- | ledger/ledger_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ledger/ledger_test.go b/ledger/ledger_test.go index b28965755..c88999761 100644 --- a/ledger/ledger_test.go +++ b/ledger/ledger_test.go @@ -120,7 +120,7 @@ func makeNewEmptyBlock(t *testing.T, l *Ledger, GenesisID string, initAccounts m Round: l.Latest() + 1, Branch: lastBlock.Hash(), TimeStamp: 0, - RewardsState: lastBlock.NextRewardsState(l.Latest()+1, proto, poolBal.MicroAlgos, totalRewardUnits), + RewardsState: lastBlock.NextRewardsState(l.Latest()+1, proto, poolBal.MicroAlgos, totalRewardUnits, logging.Base()), UpgradeState: lastBlock.UpgradeState, // Seed: does not matter, // UpgradeVote: empty, @@ -219,7 +219,7 @@ func TestLedgerBlockHeaders(t *testing.T) { Round: l.Latest() + 1, Branch: lastBlock.Hash(), TimeStamp: 0, - RewardsState: lastBlock.NextRewardsState(l.Latest()+1, proto, poolBal.MicroAlgos, totalRewardUnits), + RewardsState: lastBlock.NextRewardsState(l.Latest()+1, proto, poolBal.MicroAlgos, totalRewardUnits, logging.Base()), UpgradeState: lastBlock.UpgradeState, // Seed: does not matter, // UpgradeVote: empty, @@ -1216,7 +1216,7 @@ func testLedgerSingleTxApplyData(t *testing.T, version protocol.ConsensusVersion Round: l.Latest() + 1, Branch: lastBlock.Hash(), TimeStamp: 0, - RewardsState: lastBlock.NextRewardsState(l.Latest()+1, proto, poolBal.MicroAlgos, totalRewardUnits), + RewardsState: lastBlock.NextRewardsState(l.Latest()+1, proto, poolBal.MicroAlgos, totalRewardUnits, logging.Base()), UpgradeState: lastBlock.UpgradeState, // Seed: does not matter, // UpgradeVote: empty, |