ensuire amount value is int

This commit is contained in:
nannal 2021-05-30 01:51:37 +03:00
parent 06339ca86c
commit 6d339ae959

View File

@ -36,7 +36,7 @@ function checkPayment(){
tx2 = { tx2 = {
type: 3, type: 3,
data: { data: {
amount: Math.floor(config.fee)/2, amount: (Math.floor(parseInt(config.fee))/2),
name: userArr[0].username name: userArr[0].username
} }
} }