Skip to content

Commit fba5a63

Browse files
internal/ethapi: fix typo in comment (#22271)
1 parent 098a2b6 commit fba5a63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎internal/ethapi/api.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ func (s *PrivateAccountAPI) SendTransaction(ctx context.Context, args SendTxArgs
386386
}
387387

388388
// SignTransaction will create a transaction from the given arguments and
389-
// tries to sign it with the key associated with args.To. If the given passwd isn't
389+
// tries to sign it with the key associated with args.From. If the given passwd isn't
390390
// able to decrypt the key it fails. The transaction is returned in RLP-form, not broadcast
391391
// to other nodes
392392
func (s *PrivateAccountAPI) SignTransaction(ctx context.Context, args SendTxArgs, passwd string) (*SignTransactionResult, error) {

0 commit comments

Comments
 (0)