diff options
author | Dan <danjm.com@gmail.com> | 2018-04-17 11:26:46 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-04-17 11:26:46 +0800 |
commit | 6da00c4061b4af1bb282c9ad68eaa2deef84093b (patch) | |
tree | a091abfb6ccf9b665459923a2438eb334a46e264 /app/scripts/lib | |
parent | 7b5d506cec7fe182f64e71772c7f17bf697f31d8 (diff) | |
download | tangerine-wallet-browser-6da00c4061b4af1bb282c9ad68eaa2deef84093b.tar.gz tangerine-wallet-browser-6da00c4061b4af1bb282c9ad68eaa2deef84093b.tar.zst tangerine-wallet-browser-6da00c4061b4af1bb282c9ad68eaa2deef84093b.zip |
Add missing descriptions in util.js
Diffstat (limited to 'app/scripts/lib')
-rw-r--r-- | app/scripts/lib/util.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/scripts/lib/util.js b/app/scripts/lib/util.js index 11565790f..cb0d7e5c1 100644 --- a/app/scripts/lib/util.js +++ b/app/scripts/lib/util.js @@ -49,8 +49,8 @@ function sufficientBalance (txParams, hexBalance) { /** * Converts a BN object to a hex string with a '0x' prefix * - * @param {BN} inputBn Description - * @returns {string} A hex string + * @param {BN} inputBn The BN to convert to a hex string + * @returns {string} A '0x' prefixed hex string * */ function bnToHex (inputBn) { @@ -72,8 +72,8 @@ function hexToBn (inputHex) { * Used to multiply a BN by a fraction * * @param {BN} targetBN The number to multiply by a fraction - * @param {number|string} numerator - * @param {number|string} denominator + * @param {number|string} numerator The numerator of the fraction multiplier + * @param {number|string} denominator The denominator of the fraction multiplier * @returns {BN} The product of the multiplication * */ |