Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
AshinGau committed Oct 23, 2024
1 parent 6a34358 commit 6fe2a10
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/partition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,6 @@ where
if remove_miner {
// remove miner's state if we handle rewards separately
state.remove(&self.coinbase);
} else {
// add miner to read set, because it's in write set.
// set miner's value to None to make this tx redo in next round if unconfirmed.
read_set.insert(LocationAndType::Basic(self.coinbase), None);
}
// temporary commit to cache_db, to make use the remaining txs can read the updated data
let transition = evm.db_mut().temporary_commit(state);
Expand Down

0 comments on commit 6fe2a10

Please sign in to comment.