From a9caa15ac75a6ce2939ffd90a0a2040434095d84 Mon Sep 17 00:00:00 2001 From: Adrien Hopkins Date: Thu, 16 Jun 2022 08:23:41 -0500 Subject: Fixed imports from previous commit --- routes/bitcoin/conversionFee.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'routes/bitcoin/conversionFee.js') diff --git a/routes/bitcoin/conversionFee.js b/routes/bitcoin/conversionFee.js index 8a6bfce6..9df60c2a 100644 --- a/routes/bitcoin/conversionFee.js +++ b/routes/bitcoin/conversionFee.js @@ -2,11 +2,11 @@ // This is in a separate file so that the same function can be used by ./send and ./receive const conversionFeeMultiplier = 0.01; -export const conversionFeeReceiver = "coinosfees"; // account that receives the fees +const conversionFeeReceiver = "coinosfees"; // account that receives the fees /** * Returns the fee you have to pay for withdrawing 'amount' bitcoin. */ -export function computeConversionFee(amount) { +function computeConversionFee(amount) { return Math.floor(amount * conversionFeeMultiplier); } -- cgit v1.2.3