mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-25 15:39:25 -05:00
eb705d3e9c
515: Make it easier to create a bitcoin::Wallet for testing r=thomaseizinger a=thomaseizinger Forcing the user to create an implementation of `EstimateFeeRate` every time they want to create a wallet for testing is tedious and leads to duplicated code. The implementation for tests is rarely dynamic and thus can be simplified to static arguments. This also allows us to provide convenience constructors to make tests that don't care about fees less distracting by reducing the number of constants that are floating around. Co-authored-by: Thomas Eizinger <thomas@eizinger.io> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |