aboutsummaryrefslogtreecommitdiff
path: root/core/tx_pool.go
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2020-06-28 16:55:59 -0400
committerDeterminant <tederminant@gmail.com>2020-06-28 16:55:59 -0400
commit90fae71b0ab27aacdc2f9454820d487a9b2a529a (patch)
tree8b19f7d114119644f4faf35ec46dd25ff00a7d31 /core/tx_pool.go
parentd235e2c6a5788ec4a6cff15a16f56b38a3876a0d (diff)
...
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