bitcoin-cli returns me "verificationprogress": 1
but bitcoin-core returns me 0.9999941262782213
Since this is the return of the library I have no way to fix that rounding issue.
I would expect 1 to be returned.
(I know this is a common javascript problem.)
Generally speaking, I would expect this library to delive 8 decimals number (8 decimals for satoshis). Maybe return numbers as strings and let the client interpret it like he wants it to (many libraries available).
bitcoin-cli returns me "verificationprogress": 1 but bitcoin-core returns me 0.9999941262782213
Since this is the return of the library I have no way to fix that rounding issue. I would expect 1 to be returned. (I know this is a common javascript problem.) Generally speaking, I would expect this library to delive 8 decimals number (8 decimals for satoshis). Maybe return numbers as strings and let the client interpret it like he wants it to (many libraries available).