rust-electrum-client
rust-electrum-client copied to clipboard
Routinely returns `AllAttemptsErrored([])` on failed requests
In these parts of the code we returning before adding the latest error to the errors: Vec<_>. This causes this code to return AllAttemptsErrored([]) which is a bit frustrating.
https://github.com/bitcoindevkit/rust-electrum-client/blob/761796c94ae29a41651914796c926bbabf8784c8/src/client.rs#L56-L65 https://github.com/bitcoindevkit/rust-electrum-client/blob/761796c94ae29a41651914796c926bbabf8784c8/src/client.rs#L80-L89