diff --git a/index.js b/index.js index 32404f5..7a20151 100644 --- a/index.js +++ b/index.js @@ -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) } }