Skip to content

Commit 183c653

Browse files
authored
docs: typo (MetaMask#126)
1 parent 138139a commit 183c653

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ class KeyringController extends EventEmitter {
366366
* @param {Object} ethTx - The transaction to sign.
367367
* @param {string} _fromAddress - The transaction 'from' address.
368368
* @param {Object} opts - Signing options.
369-
* @returns {Promise<Object>} The signed transactio object.
369+
* @returns {Promise<Object>} The signed transaction object.
370370
*/
371371
signTransaction(ethTx, _fromAddress, opts = {}) {
372372
const fromAddress = normalizeAddress(_fromAddress);
@@ -393,7 +393,7 @@ class KeyringController extends EventEmitter {
393393
/**
394394
* Sign Personal Message
395395
*
396-
* Attempts to sign the provided message paramaters.
396+
* Attempts to sign the provided message parameters.
397397
* Prefixes the hash before signing per the personal sign expectation.
398398
*
399399
* @param {Object} msgParams - The message parameters to sign.
@@ -495,7 +495,7 @@ class KeyringController extends EventEmitter {
495495
* - Faucets that account on testnet
496496
* - Puts the current seed words into the state tree
497497
*
498-
* @returns {Promise<void>} - A promise that resovles if the operation was successful.
498+
* @returns {Promise<void>} - A promise that resolves if the operation was successful.
499499
*/
500500
createFirstKeyTree() {
501501
this.clearKeyrings();
@@ -734,7 +734,7 @@ class KeyringController extends EventEmitter {
734734
}
735735

736736
/**
737-
* Update Memstore Keyrings
737+
* Update memStore Keyrings
738738
*
739739
* Updates the in-memory keyrings, without persisting.
740740
*/

0 commit comments

Comments
 (0)