aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgregg dourgarian <greggd@tempworks.com>2016-08-27 20:05:09 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-08-27 20:05:09 +0800
commit8dbf59fec5670591ca0a47f9f00a51ae293acb6b (patch)
treeaf1d552571196e00472c30b6ee6c206542593dec
parent5fc032a9d16ac6ea1dc020f06e44c24c94a361a7 (diff)
downloaddexon-8dbf59fec5670591ca0a47f9f00a51ae293acb6b.tar.gz
dexon-8dbf59fec5670591ca0a47f9f00a51ae293acb6b.tar.zst
dexon-8dbf59fec5670591ca0a47f9f00a51ae293acb6b.zip
common,internal: typo/misspelling fixes (#2953)
-rw-r--r--common/natspec/natspec_js.go8
-rw-r--r--internal/jsre/ethereum_js.go10
2 files changed, 9 insertions, 9 deletions
diff --git a/common/natspec/natspec_js.go b/common/natspec/natspec_js.go
index 2b30d31d3..0375bb4d5 100644
--- a/common/natspec/natspec_js.go
+++ b/common/natspec/natspec_js.go
@@ -787,7 +787,7 @@ var findIndex = function (array, callback) {
};
/**
- * Should be called to get sting from it's hex representation
+ * Should be called to get sting from its hex representation
*
* @method toAscii
* @param {String} string in hex
@@ -865,7 +865,7 @@ var extractTypeName = function (name) {
};
/**
- * Converts value to it's decimal representation in string
+ * Converts value to its decimal representation in string
*
* @method toDecimal
* @param {String|Number|BigNumber}
@@ -876,7 +876,7 @@ var toDecimal = function (value) {
};
/**
- * Converts value to it's hex representation
+ * Converts value to its hex representation
*
* @method fromDecimal
* @param {String|Number|BigNumber}
@@ -890,7 +890,7 @@ var fromDecimal = function (value) {
};
/**
- * Auto converts any given value into it's hex representation.
+ * Auto converts any given value into its hex representation.
*
* And even stringifys objects before.
*
diff --git a/internal/jsre/ethereum_js.go b/internal/jsre/ethereum_js.go
index 79ce1d2e2..b4eef194c 100644
--- a/internal/jsre/ethereum_js.go
+++ b/internal/jsre/ethereum_js.go
@@ -1987,7 +1987,7 @@ var padRight = function (string, chars, sign) {
};
/**
- * Should be called to get utf8 from it's hex representation
+ * Should be called to get utf8 from its hex representation
*
* @method toUtf8
* @param {String} string in hex
@@ -2011,7 +2011,7 @@ var toUtf8 = function(hex) {
};
/**
- * Should be called to get ascii from it's hex representation
+ * Should be called to get ascii from its hex representation
*
* @method toAscii
* @param {String} string in hex
@@ -2109,7 +2109,7 @@ var extractTypeName = function (name) {
};
/**
- * Converts value to it's decimal representation in string
+ * Converts value to its decimal representation in string
*
* @method toDecimal
* @param {String|Number|BigNumber}
@@ -2120,7 +2120,7 @@ var toDecimal = function (value) {
};
/**
- * Converts value to it's hex representation
+ * Converts value to its hex representation
*
* @method fromDecimal
* @param {String|Number|BigNumber}
@@ -2134,7 +2134,7 @@ var fromDecimal = function (value) {
};
/**
- * Auto converts any given value into it's hex representation.
+ * Auto converts any given value into its hex representation.
*
* And even stringifys objects before.
*