-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
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
globalbalance
returns wrong onchain balance
#2847
Comments
@pm47 could that be related to something eclair does, or is that just a rounding issue from scala's double? |
My bet is a conversion error from eclair/eclair-core/src/main/scala/fr/acinq/eclair/json/JsonSerializers.scala Lines 169 to 171 in e298ba9
We do use Line 37 in e298ba9
Or when summing individual amounts to build the eclair/eclair-core/src/main/scala/fr/acinq/eclair/balance/CheckBalance.scala Lines 293 to 296 in e298ba9
|
eclair-cli globalbalance
returns these valueswhereas
bitcoin-cli getbalace
returnsx.yyyyyyy9
.Eclair found 0.00000000000000001 somewhere.
The text was updated successfully, but these errors were encountered: