fix BigInt Int mix in satistics

This commit is contained in:
keyan 2023-07-31 12:47:41 -05:00
parent f91be5d70f
commit f7bf77ebd4
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ export default {
}
switch (f.type) {
case 'withdrawal':
f.msats = (-1 * f.msats) - f.msatsFee
f.msats = (-1 * Number(f.msats)) - Number(f.msatsFee)
break
case 'spent':
f.msats *= -1