From 6da00c4061b4af1bb282c9ad68eaa2deef84093b Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 17 Apr 2018 00:56:46 -0230 Subject: [PATCH] Add missing descriptions in util.js --- app/scripts/lib/util.js | 8 ++++---- 1 file 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 * */