Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

homestead fix #68

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ var Block = module.exports = function (data, opts) {
}

// parse transactions
const height = new BN(this.header.number).toNumber()
for (i = 0; i < rawTransactions.length; i++) {
var tx = new Tx(rawTransactions[i])
tx._homestead = true
tx._homestead = height >= 1150000
this.transactions.push(tx)
}
}
Expand Down