mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
Updating bitcoinDevimalToCoin.
This commit is contained in:
+1
-1
@@ -135,7 +135,7 @@ function decimalToCoin(amount) {
|
||||
}
|
||||
|
||||
function bitcoinDecimalToCoin(amount) {
|
||||
return amount * 100000000;
|
||||
return Math.round(amount * 100000000);
|
||||
}
|
||||
|
||||
function bitcoinCoinToDecimal(amount) {
|
||||
|
||||
Reference in New Issue
Block a user