internal/ethapi: comment nitpick (#22270)

This commit is contained in:
Marius van der Wijden 2021-02-05 11:35:55 +01:00 committed by GitHub
parent 54735a6723
commit 28121324ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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