Skip to content

Commit

Permalink
remove coinbase rule from consensus after wellington activates
Browse files Browse the repository at this point in the history
  • Loading branch information
vinarmani committed Apr 12, 2023
1 parent 6ff0b79 commit d2fcb7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/blockchain/chain.js
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ class Chain extends AsyncEmitter {
const height = prev.height + 1;
const interval = this.network.halvingInterval;
const magneticAnomaly = state.hasMagneticAnomaly();
const enforceCoinbaseRule = state.hasAxion();
const enforceCoinbaseRule = state.hasAxion() && !state.hasWellington();

let sigops = 0;
let reward = 0;
Expand Down

0 comments on commit d2fcb7b

Please sign in to comment.