Skip to content

Commit ce9dae2

Browse files
s1naqinglin89
authored andcommitted
internal/ethapi: remove SignAndSendTransaction (ethereum#25111)
1 parent 237c318 commit ce9dae2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

internal/ethapi/api.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -563,12 +563,6 @@ func (s *PrivateAccountAPI) EcRecover(ctx context.Context, data, sig hexutil.Byt
563563
return crypto.PubkeyToAddress(*rpk), nil
564564
}
565565

566-
// SignAndSendTransaction was renamed to SendTransaction. This method is deprecated
567-
// and will be removed in the future. It primary goal is to give clients time to update.
568-
func (s *PrivateAccountAPI) SignAndSendTransaction(ctx context.Context, args TransactionArgs, passwd string) (common.Hash, error) {
569-
return s.SendTransaction(ctx, args, passwd)
570-
}
571-
572566
// InitializeWallet initializes a new wallet at the provided URL, by generating and returning a new private key.
573567
func (s *PrivateAccountAPI) InitializeWallet(ctx context.Context, url string) (string, error) {
574568
wallet, err := s.am.Wallet(url)

0 commit comments

Comments
 (0)