mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-03-25 07:36:56 -04:00

The Rust compiler doesn't guarantee in which order field initialization are executed. By extracting them, we can make sure they run in a certain order. This will be important as we add more validations that can fail.