aboutsummaryrefslogtreecommitdiffstats
path: root/tests/transaction_test_util.go
diff options
context:
space:
mode:
authorEli <elihanover@yahoo.com>2018-05-02 16:20:19 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-05-02 16:20:19 +0800
commitd76c5ca532bfeba5469ed42985630116a1f41ebe (patch)
tree6c63efd2c949fc30f90024a575a94f6ad11c0cf3 /tests/transaction_test_util.go
parentc1ea52757358d2e9d87c636a9519ffdc74ea8ac0 (diff)
downloadgo-tangerine-d76c5ca532bfeba5469ed42985630116a1f41ebe.tar
go-tangerine-d76c5ca532bfeba5469ed42985630116a1f41ebe.tar.gz
go-tangerine-d76c5ca532bfeba5469ed42985630116a1f41ebe.tar.bz2
go-tangerine-d76c5ca532bfeba5469ed42985630116a1f41ebe.tar.lz
go-tangerine-d76c5ca532bfeba5469ed42985630116a1f41ebe.tar.xz
go-tangerine-d76c5ca532bfeba5469ed42985630116a1f41ebe.tar.zst
go-tangerine-d76c5ca532bfeba5469ed42985630116a1f41ebe.zip
tests: golint fixes for tests directory (#16640)
Diffstat (limited to 'tests/transaction_test_util.go')
-rw-r--r--tests/transaction_test_util.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/transaction_test_util.go b/tests/transaction_test_util.go
index 2028d2a27..8c3dac088 100644
--- a/tests/transaction_test_util.go
+++ b/tests/transaction_test_util.go
@@ -72,9 +72,8 @@ func (tt *TransactionTest) Run(config *params.ChainConfig) error {
if err := rlp.DecodeBytes(tt.json.RLP, tx); err != nil {
if tt.json.Transaction == nil {
return nil
- } else {
- return fmt.Errorf("RLP decoding failed: %v", err)
}
+ return fmt.Errorf("RLP decoding failed: %v", err)
}
// Check sender derivation.
signer := types.MakeSigner(config, new(big.Int).SetUint64(uint64(tt.json.BlockNumber)))