Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit b49a7ce

Browse files
author
Joe C
authored
[token cli]: add validation to metadata address (#5926)
1 parent b410945 commit b49a7ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

token/cli/src/clap_app.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,7 @@ pub fn app<'a, 'b>(
663663
Arg::with_name("metadata_address")
664664
.long("metadata-address")
665665
.value_name("ADDRESS")
666+
.validator(is_valid_pubkey)
666667
.takes_value(true)
667668
.conflicts_with("enable_metadata")
668669
.help(

0 commit comments

Comments
 (0)