chore: derive eq on vault
@@ -105,7 +105,7 @@ pub type DefaultVaultId<T> = VaultId<<T as frame_system::Config>::AccountId, Cur
pub type DefaultVaultCurrencyPair<T> = VaultCurrencyPair<CurrencyId<T>>;
-#[derive(Encode, Decode, Clone, PartialEq, Debug, Default)]
+#[derive(Encode, Decode, Clone, PartialEq, Eq, Debug, Default)]
pub struct Wallet {
// store all addresses for `report_vault_theft` checks
pub addresses: BTreeSet<BtcAddress>,
@@ -149,7 +149,7 @@ impl Default for VaultStatus {
}
}
-#[derive(Encode, Decode, Clone, PartialEq)]
+#[derive(Encode, Decode, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "std", derive(Debug))]
pub struct Vault<AccountId, BlockNumber, Balance, CurrencyId: Copy> {
/// Account identifier of the Vault
