Include WinCount when awarding block rewards

This commit is contained in:
Aayush Rajasekaran 2020-06-26 14:27:23 -04:00
parent 5d6fcbeccf
commit 8e7ac226b0

View File

@ -187,6 +187,7 @@ func (sm *StateManager) ApplyBlocks(ctx context.Context, pstate cid.Cid, bms []B
Miner: b.Miner,
Penalty: penalty,
GasReward: gasReward,
WinCount: b.WinCount,
})
if err != nil {
return cid.Undef, cid.Undef, xerrors.Errorf("failed to serialize award params: %w", err)