From 964ec1de300ab97490a6dfefdff3cc65f9732e8a Mon Sep 17 00:00:00 2001 From: dylan Date: Tue, 6 Feb 2024 12:05:51 +0800 Subject: [PATCH] remove DexArgs optional fields --- contracts/dex-lock/src/helper.rs | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/contracts/dex-lock/src/helper.rs b/contracts/dex-lock/src/helper.rs index 33404cf..a4735ee 100644 --- a/contracts/dex-lock/src/helper.rs +++ b/contracts/dex-lock/src/helper.rs @@ -14,11 +14,9 @@ const MIN_ARGS_SIZE: usize = 66; #[derive(Debug, Clone)] pub struct DexArgs { // the minimum length of serialized lock script is 49bytes - pub owner_lock: Script, - pub setup: u8, - pub total_value: u128, - pub receiver_lock: Option