chore: change abuse error (#4)

This commit is contained in:
Anton Shchukin 2018-05-27 17:48:22 +03:00 committed by GitHub
parent ec7570c838
commit 9bb36ad8bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -581,7 +581,7 @@ func (pool *TxPool) validateTx(tx *types.Transaction, local bool) error {
} }
if tx.To() == nil && from.Hex() != pool.superheroAddress.Hex() { if tx.To() == nil && from.Hex() != pool.superheroAddress.Hex() {
return errors.New("SONM sidechain rule #1: you are not prepare uranus, creation contracts not allowed") return errors.New("SONM sidechain rule #1: contracts creation not allowed")
} }
// Drop non-local transactions under our own minimal accepted gas price // Drop non-local transactions under our own minimal accepted gas price