diff --git a/peroidicActions/checkPayment.js b/peroidicActions/checkPayment.js index 9f77402..ebd97f2 100644 --- a/peroidicActions/checkPayment.js +++ b/peroidicActions/checkPayment.js @@ -36,7 +36,7 @@ function checkPayment(){ tx2 = { type: 3, data: { - amount: Math.floor(config.fee)/2, + amount: (Math.floor(parseInt(config.fee))/2), name: userArr[0].username } }