@generalprotocols/price-oracle
Advanced tools
Comparing version 2.1.0-development.3876542172 to 2.1.0-development.3967781592
@@ -702,3 +702,3 @@ 'use strict'; | ||
// Get the satoshi amount | ||
const amountInSatoshis = amountInBch * Satoshis.PER_BCH; | ||
const amountInSatoshis = Math.round(amountInBch * Satoshis.PER_BCH); | ||
// Create the instance | ||
@@ -705,0 +705,0 @@ const satoshiUnits = new Satoshis(amountInSatoshis); |
@@ -694,3 +694,3 @@ import { hexToBin, numberToBinInt32LE, flattenBinArray, binToHex, binToNumberInt32LE, decodePrivateKeyWif, sha256, secp256k1, decodeAuthenticationInstructions, authenticationInstructionsAreMalformed } from '@bitauth/libauth'; | ||
// Get the satoshi amount | ||
const amountInSatoshis = amountInBch * Satoshis.PER_BCH; | ||
const amountInSatoshis = Math.round(amountInBch * Satoshis.PER_BCH); | ||
// Create the instance | ||
@@ -697,0 +697,0 @@ const satoshiUnits = new Satoshis(amountInSatoshis); |
{ | ||
"name": "@generalprotocols/price-oracle", | ||
"version": "2.1.0-development.3876542172", | ||
"version": "2.1.0-development.3967781592", | ||
"description": "Library for creating, parsing, signing, verifying and transferring PriceOracle messages.", | ||
@@ -5,0 +5,0 @@ "exports": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
302829