Closed zoedberg closed 2 months ago
Attention: Patch coverage is 0%
with 9 lines
in your changes missing coverage. Please review.
Project coverage is 0.0%. Comparing base (
dbfb8ba
) to head (81346f6
). Report is 3 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
src/indexers/electrum.rs | 0.0% | 9 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Closing in favor of merged #63
Closes https://github.com/BP-WG/bp-wallet/issues/62
Issue was due to the conversion from float to integer in
let value = (vout.value * 100_000_000.0) as u64;
With this PR instead of parsing the TX outputs of the JSON TX returned by electrum we use the TX deserialized from its hex, this way we don't have to deal with floating-point arithmetic issues.