Skip to content

Commit

Permalink
ethclient: fix signer
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl committed Feb 24, 2021
1 parent dd2483c commit dfba23b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ethclient/signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ func (s *senderFromServer) Sender(tx *types.Transaction) (common.Address, error)
return s.addr, nil
}

func (s *senderFromServer) ChainID() *big.Int {
panic("can't sign with senderFromServer")
}
func (s *senderFromServer) Hash(tx *types.Transaction) common.Hash {
panic("can't sign with senderFromServer")
}
Expand Down

0 comments on commit dfba23b

Please sign in to comment.