fix BigInt Int mix in satistics
This commit is contained in:
parent
f91be5d70f
commit
f7bf77ebd4
|
@ -166,7 +166,7 @@ export default {
|
||||||
}
|
}
|
||||||
switch (f.type) {
|
switch (f.type) {
|
||||||
case 'withdrawal':
|
case 'withdrawal':
|
||||||
f.msats = (-1 * f.msats) - f.msatsFee
|
f.msats = (-1 * Number(f.msats)) - Number(f.msatsFee)
|
||||||
break
|
break
|
||||||
case 'spent':
|
case 'spent':
|
||||||
f.msats *= -1
|
f.msats *= -1
|
||||||
|
|
Loading…
Reference in New Issue