diff --git a/api/resolvers/wallet.js b/api/resolvers/wallet.js index d4e762ee..2936f8ff 100644 --- a/api/resolvers/wallet.js +++ b/api/resolvers/wallet.js @@ -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