fix BigInt Int mix in satistics
This commit is contained in:
parent
f91be5d70f
commit
f7bf77ebd4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue