all: fix typos in comments (#21118)
This commit is contained in:
@ -77,7 +77,7 @@ func (tt *TestCmd) Run(name string, args ...string) {
|
||||
}
|
||||
}
|
||||
|
||||
// InputLine writes the given text to the childs stdin.
|
||||
// InputLine writes the given text to the child's stdin.
|
||||
// This method can also be called from an expect template, e.g.:
|
||||
//
|
||||
// geth.expect(`Passphrase: {{.InputLine "password"}}`)
|
||||
|
@ -287,7 +287,7 @@ func (s *PrivateAccountAPI) NewAccount(password string) (common.Address, error)
|
||||
return common.Address{}, err
|
||||
}
|
||||
|
||||
// fetchKeystore retrives the encrypted keystore from the account manager.
|
||||
// fetchKeystore retrieves the encrypted keystore from the account manager.
|
||||
func fetchKeystore(am *accounts.Manager) *keystore.KeyStore {
|
||||
return am.Backends(keystore.KeyStoreType)[0].(*keystore.KeyStore)
|
||||
}
|
||||
|
@ -3056,7 +3056,7 @@ ContractFactory.prototype.at = function (address, callback) {
|
||||
var contract = new Contract(this.eth, this.abi, address);
|
||||
|
||||
// this functions are not part of prototype,
|
||||
// because we dont want to spoil the interface
|
||||
// because we don't want to spoil the interface
|
||||
addFunctionsToContract(contract);
|
||||
addEventsToContract(contract);
|
||||
|
||||
@ -13617,7 +13617,7 @@ module.exports = BigNumber; // jshint ignore:line
|
||||
},{}],"web3":[function(require,module,exports){
|
||||
var Web3 = require('./lib/web3');
|
||||
|
||||
// dont override global variable
|
||||
// don't override global variable
|
||||
if (typeof window !== 'undefined' && typeof window.Web3 === 'undefined') {
|
||||
window.Web3 = Web3;
|
||||
}
|
||||
|
Reference in New Issue
Block a user