changed contract internal method name

This commit is contained in:
Fabian Vogelsteller 2017-02-14 18:04:32 +01:00
parent 83e42fa584
commit 475f58de1a
No known key found for this signature in database
GPG Key ID: E51EADA77F1A4124

View File

@ -202,7 +202,7 @@ Contract.prototype._checkListener = function(type, event){
* @param {Object} options the options gived by the user
* @return {Object} the options with gaps filled by defaults
*/
Contract.prototype._getOrSetDefaultOptions = function fillWithDefaultOptions(options) {
Contract.prototype._getOrSetDefaultOptions = function getOrSetDefaultOptions(options) {
var gasPrice = options.gasPrice ? String(options.gasPrice): null;
var from = options.from ? utils.toChecksumAddress(formatters.inputAddressFormatter(options.from)) : null;