Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal committed Feb 25, 2024
1 parent b7fda91 commit f00dde1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions crypto/txsigner_eip155_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ func TestEIP155Signer_Sender(t *testing.T) {

signer := NewEIP155Signer(
testCase.chainID.Uint64(),
//testCase.isHomestead,
)

signedTx, signErr := signer.SignTx(txn, key)
Expand Down Expand Up @@ -112,7 +111,6 @@ func TestEIP155Signer_ChainIDMismatch(t *testing.T) {
GasPrice: big.NewInt(0),
})

//signer := NewEIP155Signer(chainIDTop, true)
signer := NewEIP155Signer(chainIDTop)

signedTx, signErr := signer.SignTx(txn, key)
Expand All @@ -121,7 +119,6 @@ func TestEIP155Signer_ChainIDMismatch(t *testing.T) {
}

for _, chainIDBottom := range chainIDS {
//signerBottom := NewEIP155Signer(chainIDBottom, true)
signerBottom := NewEIP155Signer(chainIDBottom)

recoveredSender, recoverErr := signerBottom.Sender(signedTx)
Expand Down
1 change: 0 additions & 1 deletion txpool/txpool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,6 @@ func TestAddGossipTx(t *testing.T) {
signer := crypto.NewEIP155Signer(100)
tx := newTx(types.ZeroAddress, 1, 1, types.LegacyTxType)

// Problem with this test is in RLP serialization (for some reason ChainID is not serialized in a good way)
t.Run("node is a validator", func(t *testing.T) {
t.Parallel()

Expand Down

0 comments on commit f00dde1

Please sign in to comment.