Skip to content

Commit e7f43da

Browse files
s1nasadoci
authored andcommitted
internal/ethapi: remove SignAndSendTransaction (ethereum#25111)
1 parent f4fe91d commit e7f43da

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

577-
// SignAndSendTransaction was renamed to SendTransaction. This method is deprecated
578-
// and will be removed in the future. It primary goal is to give clients time to update.
579-
func (s *PrivateAccountAPI) SignAndSendTransaction(ctx context.Context, args TransactionArgs, passwd string) (common.Hash, error) {
580-
return s.SendTransaction(ctx, args, passwd)
581-
}
582-
583577
// InitializeWallet initializes a new wallet at the provided URL, by generating and returning a new private key.
584578
func (s *PrivateAccountAPI) InitializeWallet(ctx context.Context, url string) (string, error) {
585579
wallet, err := s.am.Wallet(url)

0 commit comments

Comments
 (0)