@exodus/ethereum-api 2.6.14 → 2.6.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-api",
3
- "version": "2.6.14",
3
+ "version": "2.6.15",
4
4
  "description": "Ethereum Api",
5
5
  "main": "src/index.js",
6
6
  "author": "Exodus Movement, Inc.",
@@ -19,6 +19,5 @@
19
19
  "url": "0.10.3",
20
20
  "url-join": "4.0.0",
21
21
  "ws": "6.1.0"
22
- },
23
- "gitHead": "cf8f7f40a6fce5c1513da63ca736f7fbe9d05cbb"
22
+ }
24
23
  }
@@ -54,7 +54,7 @@ export async function fetchGasLimit({
54
54
  const _isToken = isToken(asset)
55
55
  if (_isToken) {
56
56
  txInput = ethUtil.bufferToHex(
57
- asset.contract.transfer.build(toAddress, amount.toBase().toNumberString())
57
+ asset.contract.transfer.build(toAddress, amount.toBase().toString({ unit: false }))
58
58
  )
59
59
  amount = asset.baseAsset.currency.ZERO
60
60
  toAddress = asset.contract.address
package/LICENSE.md DELETED
File without changes