all: simplify switches (#17267)
* all: simplify switches * silly mistake
This commit is contained in:
		
				
					committed by
					
						 Péter Szilágyi
						Péter Szilágyi
					
				
			
			
				
	
			
			
			
						parent
						
							273c7a9dc4
						
					
				
				
					commit
					d42ce0f2c1
				
			| @@ -1146,8 +1146,7 @@ func TestEIP155Transition(t *testing.T) { | ||||
| 				return types.SignTx(types.NewTransaction(block.TxNonce(address), common.Address{}, new(big.Int), 21000, new(big.Int), nil), signer, key) | ||||
| 			} | ||||
| 		) | ||||
| 		switch i { | ||||
| 		case 0: | ||||
| 		if i == 0 { | ||||
| 			tx, err = basicTx(types.NewEIP155Signer(big.NewInt(2))) | ||||
| 			if err != nil { | ||||
| 				t.Fatal(err) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user