Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Fix unreferenced vars after dummy print removal:
Browse files Browse the repository at this point in the history
  • Loading branch information
zivkovicmilos committed Dec 25, 2021
1 parent 982e1a5 commit 68d0e21
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions blockchain/blockchain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -555,8 +555,6 @@ func TestBlockchainWriteBody(t *testing.T) {
if err := b.writeBody(block); err != nil {
t.Fatal(err)
}

body, ok := b.readBody(block.Hash())
}

func TestCalculateGasLimit(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion jsonrpc/jsonrpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func TestHTTPServer(t *testing.T) {
Store: store,
Addr: &net.TCPAddr{IP: net.ParseIP("127.0.0.1"), Port: 8545},
}
srv, err := NewJSONRPC(hclog.NewNullLogger(), config)
_, err := NewJSONRPC(hclog.NewNullLogger(), config)
if err != nil {
t.Fatal(err)
}
Expand Down
2 changes: 1 addition & 1 deletion txpool/txpool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func TestGetPendingAndQueuedTransactions(t *testing.T) {
func TestBroadcast(t *testing.T) {
// we need a fully encrypted txn with (r, s, v) values so that we can
// safely encrypt in RLP and broadcast it
key0, addr0 := tests.GenerateKeyAndAddr(t)
key0, _ := tests.GenerateKeyAndAddr(t)

signer := &crypto.FrontierSigner{}

Expand Down

0 comments on commit 68d0e21

Please sign in to comment.