diff options
Diffstat (limited to 'core/tx_pool.go')
-rw-r--r-- | core/tx_pool.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tx_pool.go b/core/tx_pool.go index b0a8eea0f..e8d93d20e 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -299,7 +299,7 @@ func (pool *TxPool) validateTx(tx *types.Transaction) error { // Transactions can't be negative. This may never happen // using RLP decoded transactions but may occur if you create // a transaction using the RPC for example. - if tx.Value().Cmp(common.Big0) < 0 { + if tx.Value().Sign() < 0 { return ErrNegativeValue } |