Prechádzať zdrojové kódy

internal/ethapi: fix typo in comment (#22271)

Marius van der Wijden 4 rokov pred
rodič
commit
fba5a63afe
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      internal/ethapi/api.go

+ 1 - 1
internal/ethapi/api.go

@@ -386,7 +386,7 @@ func (s *PrivateAccountAPI) SendTransaction(ctx context.Context, args SendTxArgs
 }
 
 // SignTransaction 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. The transaction is returned in RLP-form, not broadcast
 // to other nodes
 func (s *PrivateAccountAPI) SignTransaction(ctx context.Context, args SendTxArgs, passwd string) (*SignTransactionResult, error) {