aboutsummaryrefslogtreecommitdiff
path: root/core/tx_pool.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/tx_pool.go')
-rw-r--r--core/tx_pool.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/tx_pool.go b/core/tx_pool.go
index 5b2a3c0..1acd488 100644
--- a/core/tx_pool.go
+++ b/core/tx_pool.go
@@ -528,6 +528,7 @@ func (pool *TxPool) validateTx(tx *types.Transaction, local bool) error {
}
// Ensure the transaction doesn't exceed the current block limit gas.
if pool.currentMaxGas < tx.Gas() {
+ fmt.Println(pool.currentMaxGas, tx.Gas())
return ErrGasLimit
}
// Make sure the transaction is signed properly