xmr-btc-swap/swap
Thomas Eizinger a8bfc1d686 Make LatestRate::Error require std::error::Error trait bound
This allows us to use .context instead of .map_err when calling
`latest_rate()`. For the static rate module, we simply fill in
`Infallible` which is actually better suited because it describes
that we are never using this error.
2021-02-22 13:27:47 +11:00
..
src Make LatestRate::Error require std::error::Error trait bound 2021-02-22 13:27:47 +11:00
tests Import anyhow::Result across the codebase 2021-02-22 13:26:56 +11:00
Cargo.toml Introduce dynamic rates 2021-02-22 13:24:59 +11:00