mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
tests: remove empty auth checker from tx test runner
This commit is contained in:
parent
0b5ca640df
commit
068ca4a445
1 changed files with 0 additions and 3 deletions
|
|
@ -86,9 +86,6 @@ func (tt *TransactionTest) Run(config *params.ChainConfig) error {
|
|||
if requiredGas > tx.Gas() {
|
||||
return sender, hash, 0, fmt.Errorf("insufficient gas ( %d < %d )", tx.Gas(), requiredGas)
|
||||
}
|
||||
if auth := tx.SetCodeAuthorizations(); auth != nil && len(auth) == 0 {
|
||||
return sender, hash, requiredGas, fmt.Errorf("missing authorization")
|
||||
}
|
||||
hash = tx.Hash()
|
||||
return sender, hash, requiredGas, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue