Skip to content

Commit d39f0cc

Browse files
authored
internal/ethapi: remove SignAndSendTransaction (#25111)
1 parent c776029 commit d39f0cc

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
@@ -557,12 +557,6 @@ func (s *PrivateAccountAPI) EcRecover(ctx context.Context, data, sig hexutil.Byt
557557
return crypto.PubkeyToAddress(*rpk), nil
558558
}
559559

560-
// SignAndSendTransaction was renamed to SendTransaction. This method is deprecated
561-
// and will be removed in the future. It primary goal is to give clients time to update.
562-
func (s *PrivateAccountAPI) SignAndSendTransaction(ctx context.Context, args TransactionArgs, passwd string) (common.Hash, error) {
563-
return s.SendTransaction(ctx, args, passwd)
564-
}
565-
566560
// InitializeWallet initializes a new wallet at the provided URL, by generating and returning a new private key.
567561
func (s *PrivateAccountAPI) InitializeWallet(ctx context.Context, url string) (string, error) {
568562
wallet, err := s.am.Wallet(url)

0 commit comments

Comments
 (0)