Skip to content

Commit 2812132

Browse files
internal/ethapi: comment nitpick (#22270)
1 parent 54735a6 commit 2812132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/ethapi/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ func (s *PrivateAccountAPI) signTransaction(ctx context.Context, args *SendTxArg
368368
}
369369

370370
// SendTransaction will create a transaction from the given arguments and
371-
// tries to sign it with the key associated with args.To. If the given passwd isn't
371+
// tries to sign it with the key associated with args.From. If the given passwd isn't
372372
// able to decrypt the key it fails.
373373
func (s *PrivateAccountAPI) SendTransaction(ctx context.Context, args SendTxArgs, passwd string) (common.Hash, error) {
374374
if args.Nonce == nil {

0 commit comments

Comments
 (0)