Skip to content

Commit 8dbf59f

Browse files
JohnDoe389karalabe
authored andcommitted
common,internal: typo/misspelling fixes (bnb-chain#2953)
1 parent 5fc032a commit 8dbf59f

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎common/natspec/natspec_js.go‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ var findIndex = function (array, callback) {
787787
};
788788
789789
/**
790-
* Should be called to get sting from it's hex representation
790+
* Should be called to get sting from its hex representation
791791
*
792792
* @method toAscii
793793
* @param {String} string in hex
@@ -865,7 +865,7 @@ var extractTypeName = function (name) {
865865
};
866866
867867
/**
868-
* Converts value to it's decimal representation in string
868+
* Converts value to its decimal representation in string
869869
*
870870
* @method toDecimal
871871
* @param {String|Number|BigNumber}
@@ -876,7 +876,7 @@ var toDecimal = function (value) {
876876
};
877877
878878
/**
879-
* Converts value to it's hex representation
879+
* Converts value to its hex representation
880880
*
881881
* @method fromDecimal
882882
* @param {String|Number|BigNumber}
@@ -890,7 +890,7 @@ var fromDecimal = function (value) {
890890
};
891891
892892
/**
893-
* Auto converts any given value into it's hex representation.
893+
* Auto converts any given value into its hex representation.
894894
*
895895
* And even stringifys objects before.
896896
*

‎internal/jsre/ethereum_js.go‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1987,7 +1987,7 @@ var padRight = function (string, chars, sign) {
19871987
};
19881988
19891989
/**
1990-
* Should be called to get utf8 from it's hex representation
1990+
* Should be called to get utf8 from its hex representation
19911991
*
19921992
* @method toUtf8
19931993
* @param {String} string in hex
@@ -2011,7 +2011,7 @@ var toUtf8 = function(hex) {
20112011
};
20122012
20132013
/**
2014-
* Should be called to get ascii from it's hex representation
2014+
* Should be called to get ascii from its hex representation
20152015
*
20162016
* @method toAscii
20172017
* @param {String} string in hex
@@ -2109,7 +2109,7 @@ var extractTypeName = function (name) {
21092109
};
21102110
21112111
/**
2112-
* Converts value to it's decimal representation in string
2112+
* Converts value to its decimal representation in string
21132113
*
21142114
* @method toDecimal
21152115
* @param {String|Number|BigNumber}
@@ -2120,7 +2120,7 @@ var toDecimal = function (value) {
21202120
};
21212121
21222122
/**
2123-
* Converts value to it's hex representation
2123+
* Converts value to its hex representation
21242124
*
21252125
* @method fromDecimal
21262126
* @param {String|Number|BigNumber}
@@ -2134,7 +2134,7 @@ var fromDecimal = function (value) {
21342134
};
21352135
21362136
/**
2137-
* Auto converts any given value into it's hex representation.
2137+
* Auto converts any given value into its hex representation.
21382138
*
21392139
* And even stringifys objects before.
21402140
*

0 commit comments

Comments
 (0)