mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-02-22 15:49:52 -05: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.