We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maybe found this bug as a side effect of #221 (comment):
Press any key to continue... *** STATUS *** System.Exception: Negative balance '-0.00075075'. Details: { "Version": "0.2.379.0", "TypeName": "Microsoft.FSharp.Core.FSharpOption`1[[System.Tuple`2[[System.Decimal, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]", "Value": { "Case": "Some", "Fields": [ { "Item1": 0.0007555, "Item2": "2023-09-17T23:15:47.9278098Z" } ] } } { "Version": "0.2.379.0", "TypeName": "GWallet.Backend.Currency", "Value": { "Case": "BTC" } } { "Version": "0.2.379.0", "TypeName": "System.String", "Value": "386KPeb6BfuS56ujT3Nkx84UNZnhTca3UF" } { "Version": "0.2.379.0", "TypeName": "GWallet.Backend.CachedNetworkData", "Value": { "UsdPrice": { "BTC": { "Item1": 26481.6634315724561173, "Item2": "2023-09-17T23:18:05.8849154Z" }, "LTC": { "Item1": 63.47848505376752335, "Item2": "2023-09-17T23:18:05.603915Z" }, "ETH": { "Item1": 1620.64216427353044335, "Item2": "2023-09-17T23:18:05.6350731Z" }, "ETC": { "Item1": 15.3512433667545796, "Item2": "2023-09-17T23:18:05.6818682Z" }, "DAI": { "Item1": 1.0027834651626599, "Item2": "2023-09-17T23:18:05.7320545Z" }, "SAI": { "Item1": 8.590595970649711349755, "Item2": "2023-09-17T23:18:05.7768867Z" } }, "Balances": { "BTC": { "32MEESfTxnfkQYvYnRxdK6yyFjsMatLDk5": { "Item1": 3.60814413, "Item2": "2023-09-17T23:15:37.1601114Z" }, "386KPeb6BfuS56ujT3Nkx84UNZnhTca3UF": { "Item1": 0.0, "Item2": "2023-09-17T23:18:06.6927633Z" } }, "LTC": { "M9ZNYL5RuuXBD4CStJwy8kENaSToYfVecA": { "Item1": 499.84169925, "Item2": "2023-09-17T23:18:05.7833635Z" }, "MFJThY148nkrscBdYvN6mmJshGP9TZ44mN": { "Item1": 0.52888913, "Item2": "2023-09-17T23:18:05.7412146Z" } }, "ETH": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": { "Item1": 100.045510479825162562, "Item2": "2023-09-17T23:18:06.5404947Z" }, "0x87f494bB0eF7C06E37a8024a555e21C06D679e55": { "Item1": 0.0, "Item2": "2023-09-17T23:18:06.4912484Z" } }, "ETC": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": { "Item1": 4105.633623385454916439, "Item2": "2023-09-17T23:18:05.9302002Z" }, "0x87f494bB0eF7C06E37a8024a555e21C06D679e55": { "Item1": 0.008210579580038668, "Item2": "2023-09-17T23:18:05.9541717Z" } }, "DAI": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": { "Item1": 189997.922670752458967461, "Item2": "2023-09-17T23:18:06.5698173Z" }, "0x87f494bB0eF7C06E37a8024a555e21C06D679e55": { "Item1": 0.0, "Item2": "2023-09-17T23:18:06.5156925Z" } }, "SAI": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": { "Item1": 0.0, "Item2": "2023-09-17T23:18:06.2625384Z" }, "0x87f494bB0eF7C06E37a8024a555e21C06D679e55": { "Item1": 0.0, "Item2": "2023-09-17T23:18:06.6442496Z" } } }, "OutgoingTransactions": { "BTC": { "32MEESfTxnfkQYvYnRxdK6yyFjsMatLDk5": {}, "386KPeb6BfuS56ujT3Nkx84UNZnhTca3UF": { "44378d66f62d36209667ab50922531cb5cae6e3d6d1aea1807f087ae739f1855": { "Item1": 0.00075075, "Item2": "2023-09-17T23:16:25.6707557Z" } } }, "ETC": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": {} }, "DAI": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": {} } } } } at GWallet.Backend.Infrastructure.ReportMessage(String message, ErrorLevel _arg1) at GWallet.Backend.Infrastructure.ReportError(String errorMessage) at GWallet.Backend.Caching.MainCache.ReportProblem[a,b,c,d](Decimal negativeBalance, a previousBalance, b currency, c address, d newCache) at GWallet.Backend.Caching.RetrieveAndUpdateLastCompoundBalance@405.Invoke(Unit _arg10) at GWallet.Backend.Caching.MainCache.RetrieveAndUpdateLastCompoundBalance(String address, Currency currency, Decimal newBalance) at [email protected](FSharpOption`1 _arg1) at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, FSharpFunc`2 userCode, b result1) at [email protected](AsyncActivation`1 ctxt) at GWallet.Backend.UtxoCoin.Account.GetBalancesFromServer@149-3.Invoke(AsyncActivation`1 ctxt) at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt) at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt) at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt) at <StartupCode$GWallet-Backend>.$FaultTolerantParallelClient.returnWithConsistencyOf@364-3.Invoke(AsyncActivation`1 ctxt) at <StartupCode$GWallet-Backend>[email protected](AsyncActivation`1 ctxt) at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) --- End of stack trace from previous location where exception was thrown --- at Microsoft.FSharp.Control.AsyncResult`1.Commit() at Microsoft.FSharp.Control.AsyncPrimitives.RunSynchronouslyInCurrentThread[a](CancellationToken cancellationToken, FSharpAsync`1 computation) at Microsoft.FSharp.Control.AsyncPrimitives.RunSynchronously[T](CancellationToken cancellationToken, FSharpAsync`1 computation, FSharpOption`1 timeout) at Microsoft.FSharp.Control.FSharpAsync.RunSynchronously[T](FSharpAsync`1 computation, FSharpOption`1 timeout, FSharpOption`1 cancellationToken) at Program.ProgramMainLoop[a]() at Program.NormalStartWithNoParameters() System.Exception: Negative balance '-0.00075075'. Details: { "Version": "0.2.379.0", "TypeName": "Microsoft.FSharp.Core.FSharpOption`1[[System.Tuple`2[[System.Decimal, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]", "Value": { "Case": "Some", "Fields": [ { "Item1": 0.0007555, "Item2": "2023-09-17T23:15:47.9278098Z" } ] } } { "Version": "0.2.379.0", "TypeName": "GWallet.Backend.Currency", "Value": { "Case": "BTC" } } { "Version": "0.2.379.0", "TypeName": "System.String", "Value": "386KPeb6BfuS56ujT3Nkx84UNZnhTca3UF" } { "Version": "0.2.379.0", "TypeName": "GWallet.Backend.CachedNetworkData", "Value": { "UsdPrice": { "BTC": { "Item1": 26481.6634315724561173, "Item2": "2023-09-17T23:18:05.8849154Z" }, "LTC": { "Item1": 63.47848505376752335, "Item2": "2023-09-17T23:18:05.603915Z" }, "ETH": { "Item1": 1620.64216427353044335, "Item2": "2023-09-17T23:18:05.6350731Z" }, "ETC": { "Item1": 15.3512433667545796, "Item2": "2023-09-17T23:18:05.6818682Z" }, "DAI": { "Item1": 1.0027834651626599, "Item2": "2023-09-17T23:18:05.7320545Z" }, "SAI": { "Item1": 8.590595970649711349755, "Item2": "2023-09-17T23:18:05.7768867Z" } }, "Balances": { "BTC": { "32MEESfTxnfkQYvYnRxdK6yyFjsMatLDk5": { "Item1": 3.60814413, "Item2": "2023-09-17T23:15:37.1601114Z" }, "386KPeb6BfuS56ujT3Nkx84UNZnhTca3UF": { "Item1": 0.0, "Item2": "2023-09-17T23:18:06.6927633Z" } }, "LTC": { "M9ZNYL5RuuXBD4CStJwy8kENaSToYfVecA": { "Item1": 499.84169925, "Item2": "2023-09-17T23:18:05.7833635Z" }, "MFJThY148nkrscBdYvN6mmJshGP9TZ44mN": { "Item1": 0.52888913, "Item2": "2023-09-17T23:18:05.7412146Z" } }, "ETH": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": { "Item1": 100.045510479825162562, "Item2": "2023-09-17T23:18:06.5404947Z" }, "0x87f494bB0eF7C06E37a8024a555e21C06D679e55": { "Item1": 0.0, "Item2": "2023-09-17T23:18:06.4912484Z" } }, "ETC": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": { "Item1": 4105.633623385454916439, "Item2": "2023-09-17T23:18:05.9302002Z" }, "0x87f494bB0eF7C06E37a8024a555e21C06D679e55": { "Item1": 0.008210579580038668, "Item2": "2023-09-17T23:18:05.9541717Z" } }, "DAI": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": { "Item1": 189997.922670752458967461, "Item2": "2023-09-17T23:18:06.5698173Z" }, "0x87f494bB0eF7C06E37a8024a555e21C06D679e55": { "Item1": 0.0, "Item2": "2023-09-17T23:18:06.5156925Z" } }, "SAI": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": { "Item1": 0.0, "Item2": "2023-09-17T23:18:06.2625384Z" }, "0x87f494bB0eF7C06E37a8024a555e21C06D679e55": { "Item1": 0.0, "Item2": "2023-09-17T23:18:06.6442496Z" } } }, "OutgoingTransactions": { "BTC": { "32MEESfTxnfkQYvYnRxdK6yyFjsMatLDk5": {}, "386KPeb6BfuS56ujT3Nkx84UNZnhTca3UF": { "44378d66f62d36209667ab50922531cb5cae6e3d6d1aea1807f087ae739f1855": { "Item1": 0.00075075, "Item2": "2023-09-17T23:16:25.6707557Z" } } }, "ETC": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": {} }, "DAI": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": {} } } } } at GWallet.Backend.Infrastructure.Report(Exception ex, ErrorLevel _arg1) at GWallet.Backend.Infrastructure.LogOrReportCrash(Exception ex) at Program.NormalStartWithNoParameters() at Program.main(String[] argv) Unhandled Exception: System.Exception: Negative balance '-0.00075075'. Details: { "Version": "0.2.379.0", "TypeName": "Microsoft.FSharp.Core.FSharpOption`1[[System.Tuple`2[[System.Decimal, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]", "Value": { "Case": "Some", "Fields": [ { "Item1": 0.0007555, "Item2": "2023-09-17T23:15:47.9278098Z" } ] } } { "Version": "0.2.379.0", "TypeName": "GWallet.Backend.Currency", "Value": { "Case": "BTC" } } { "Version": "0.2.379.0", "TypeName": "System.String", "Value": "386KPeb6BfuS56ujT3Nkx84UNZnhTca3UF" } { "Version": "0.2.379.0", "TypeName": "GWallet.Backend.CachedNetworkData", "Value": { "UsdPrice": { "BTC": { "Item1": 26481.6634315724561173, "Item2": "2023-09-17T23:18:05.8849154Z" }, "LTC": { "Item1": 63.47848505376752335, "Item2": "2023-09-17T23:18:05.603915Z" }, "ETH": { "Item1": 1620.64216427353044335, "Item2": "2023-09-17T23:18:05.6350731Z" }, "ETC": { "Item1": 15.3512433667545796, "Item2": "2023-09-17T23:18:05.6818682Z" }, "DAI": { "Item1": 1.0027834651626599, "Item2": "2023-09-17T23:18:05.7320545Z" }, "SAI": { "Item1": 8.590595970649711349755, "Item2": "2023-09-17T23:18:05.7768867Z" } }, "Balances": { "BTC": { "32MEESfTxnfkQYvYnRxdK6yyFjsMatLDk5": { "Item1": 3.60814413, "Item2": "2023-09-17T23:15:37.1601114Z" }, "386KPeb6BfuS56ujT3Nkx84UNZnhTca3UF": { "Item1": 0.0, "Item2": "2023-09-17T23:18:06.6927633Z" } }, "LTC": { "M9ZNYL5RuuXBD4CStJwy8kENaSToYfVecA": { "Item1": 499.84169925, "Item2": "2023-09-17T23:18:05.7833635Z" }, "MFJThY148nkrscBdYvN6mmJshGP9TZ44mN": { "Item1": 0.52888913, "Item2": "2023-09-17T23:18:05.7412146Z" } }, "ETH": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": { "Item1": 100.045510479825162562, "Item2": "2023-09-17T23:18:06.5404947Z" }, "0x87f494bB0eF7C06E37a8024a555e21C06D679e55": { "Item1": 0.0, "Item2": "2023-09-17T23:18:06.4912484Z" } }, "ETC": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": { "Item1": 4105.633623385454916439, "Item2": "2023-09-17T23:18:05.9302002Z" }, "0x87f494bB0eF7C06E37a8024a555e21C06D679e55": { "Item1": 0.008210579580038668, "Item2": "2023-09-17T23:18:05.9541717Z" } }, "DAI": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": { "Item1": 189997.922670752458967461, "Item2": "2023-09-17T23:18:06.5698173Z" }, "0x87f494bB0eF7C06E37a8024a555e21C06D679e55": { "Item1": 0.0, "Item2": "2023-09-17T23:18:06.5156925Z" } }, "SAI": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": { "Item1": 0.0, "Item2": "2023-09-17T23:18:06.2625384Z" }, "0x87f494bB0eF7C06E37a8024a555e21C06D679e55": { "Item1": 0.0, "Item2": "2023-09-17T23:18:06.6442496Z" } } }, "OutgoingTransactions": { "BTC": { "32MEESfTxnfkQYvYnRxdK6yyFjsMatLDk5": {}, "386KPeb6BfuS56ujT3Nkx84UNZnhTca3UF": { "44378d66f62d36209667ab50922531cb5cae6e3d6d1aea1807f087ae739f1855": { "Item1": 0.00075075, "Item2": "2023-09-17T23:16:25.6707557Z" } } }, "ETC": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": {} }, "DAI": { "0x833D4e7c99eb7eE9f3d2fb64bbF564dBf8647124": {} } } } } at GWallet.Backend.Infrastructure.Report(Exception ex, ErrorLevel _arg1) at GWallet.Backend.Infrastructure.LogOrReportCrash(Exception ex) at GWallet.Backend.Infrastructure.OnUnhandledException(Object _arg1, UnhandledExceptionEventArgs args) at [email protected](Object delegateArg0, UnhandledExceptionEventArgs delegateArg1)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Maybe found this bug as a side effect of #221 (comment):
The text was updated successfully, but these errors were encountered: