mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
remove todo
This commit is contained in:
parent
d19ff3191b
commit
30860fa7e0
2 changed files with 0 additions and 2 deletions
|
|
@ -422,7 +422,6 @@ func WriteBalanceHelper(sqldb *sql.DB, tx *types.Transaction) (SendAndReceive, s
|
|||
// @NOTE: This function is extremely complex and requires heavy testing and knowdlege of edge cases:
|
||||
// uncle blocks, account balance updates based on reorgs, diverges that get dropped.
|
||||
// Reason for this is because the accounts are not deterministic like the block and tx hashes.
|
||||
// @TODO: Calculate reward if there are uncles
|
||||
// @TODO: Calculate reorg
|
||||
func WriteMinerRewards(sqldb *sql.DB, block *types.Block) {
|
||||
minerAddr := block.Coinbase().String()
|
||||
|
|
|
|||
|
|
@ -422,7 +422,6 @@ func WriteBalanceHelper(sqldb *sql.DB, tx *types.Transaction) (SendAndReceive, s
|
|||
// @NOTE: This function is extremely complex and requires heavy testing and knowdlege of edge cases:
|
||||
// uncle blocks, account balance updates based on reorgs, diverges that get dropped.
|
||||
// Reason for this is because the accounts are not deterministic like the block and tx hashes.
|
||||
// @TODO: Calculate reward if there are uncles
|
||||
// @TODO: Calculate reorg
|
||||
func WriteMinerRewards(sqldb *sql.DB, block *types.Block) {
|
||||
minerAddr := block.Coinbase().String()
|
||||
|
|
|
|||
Loading…
Reference in a new issue