Skip to content

Commit

Permalink
fix(change trust): default limit to i64::Max (#1729)
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal authored Nov 21, 2024
1 parent 9853a77 commit eebf0ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FULL_HELP_DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,7 @@ Creates, updates, or deletes a trustline Learn more about trustlines https://dev
* `--line <LINE>`
* `--limit <LIMIT>` — Limit for the trust line, 0 to remove the trust line

Default value: `18446744073709551615`
Default value: `9223372036854775807`



Expand Down
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/tx/new/change_trust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down

0 comments on commit eebf0ff

Please sign in to comment.