Skip to content

Commit

Permalink
internal/ethapi: remove SignAndSendTransaction (ethereum#25111)
Browse files Browse the repository at this point in the history
  • Loading branch information
s1na authored and sadoci committed Jul 7, 2023
1 parent f4fe91d commit e7f43da
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions internal/ethapi/api.go
Expand Up @@ -574,12 +574,6 @@ func (s *PrivateAccountAPI) EcRecover(ctx context.Context, data, sig hexutil.Byt
return crypto.PubkeyToAddress(*rpk), nil
}

// SignAndSendTransaction was renamed to SendTransaction. This method is deprecated
// and will be removed in the future. It primary goal is to give clients time to update.
func (s *PrivateAccountAPI) SignAndSendTransaction(ctx context.Context, args TransactionArgs, passwd string) (common.Hash, error) {
return s.SendTransaction(ctx, args, passwd)
}

// InitializeWallet initializes a new wallet at the provided URL, by generating and returning a new private key.
func (s *PrivateAccountAPI) InitializeWallet(ctx context.Context, url string) (string, error) {
wallet, err := s.am.Wallet(url)
Expand Down

0 comments on commit e7f43da

Please sign in to comment.