Skip to content

Commit 7b033c3

Browse files
committed
typos and remove unused logic
1 parent bfe6565 commit 7b033c3

File tree

3 files changed

+0
-407
lines changed

3 files changed

+0
-407
lines changed

cmd/ecrecover/ecrecover.go

-5
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@ var EcRecoverCmd = &cobra.Command{
5353
return
5454
}
5555

56-
if len(block.Transactions()) == 0 {
57-
log.Error().Msg("no transaction to derive public key fromk")
58-
return
59-
}
60-
6156
signerBytes, err := util.Ecrecover(block)
6257
if err != nil {
6358
log.Error().Err(err).Msg("Unable to recover signature")

cmd/ecrecover/usage.md

-5
This file was deleted.

0 commit comments

Comments
 (0)