@leofcoin/lib 1.2.20 → 1.2.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/exports/index.js +1 -0
- package/package.json +1 -1
- package/src/index.ts +1 -0
package/exports/index.js
CHANGED
|
@@ -34,6 +34,7 @@ const calculateFee = async (transaction, format = false) => {
|
|
|
34
34
|
let fee = parseUnits(String(transaction.encoded.length));
|
|
35
35
|
// fee per gb
|
|
36
36
|
fee = fee.div(1073741824);
|
|
37
|
+
// fee = fee.div(1000000)
|
|
37
38
|
return format ? formatUnits(fee.toString()) : fee;
|
|
38
39
|
};
|
|
39
40
|
const calculateTransactionFee = transaction => {
|
package/package.json
CHANGED