From b3bddf5f67005eadc4a505b988d0a1b6d9d089dc Mon Sep 17 00:00:00 2001 From: Willem Wyndham Date: Fri, 15 Nov 2024 14:46:48 -0500 Subject: [PATCH] fix: default limit in change trust --- cmd/soroban-cli/src/commands/tx/new/change_trust.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/soroban-cli/src/commands/tx/new/change_trust.rs b/cmd/soroban-cli/src/commands/tx/new/change_trust.rs index 1ea4e737e3..da9acc8cf3 100644 --- a/cmd/soroban-cli/src/commands/tx/new/change_trust.rs +++ b/cmd/soroban-cli/src/commands/tx/new/change_trust.rs @@ -10,7 +10,7 @@ pub struct Cmd { #[arg(long)] pub line: builder::Asset, /// Limit for the trust line, 0 to remove the trust line - #[arg(long, default_value = u64::MAX.to_string())] + #[arg(long, default_value = i64::MAX.to_string())] pub limit: i64, }