Skip to content

Commit

Permalink
Change error message for invalid BRC-20 Tick format (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
DGideas authored Sep 12, 2024
1 parent 33a33fc commit 2c88b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subcommand/server/brc20/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub(super) use {balance::*, outpoint::*, receipt::*, ticker::*, transferable::*}

#[derive(Debug, thiserror::Error)]
pub(super) enum BRC20ApiError {
#[error("invalid ticker {0}, must be 4 characters long")]
#[error("invalid ticker {0}, must be 4 or 5 characters long")]
InvalidTicker(String),
#[error("failed to retrieve ticker {0} in the database")]
UnknownTicker(String),
Expand Down

0 comments on commit 2c88b0f

Please sign in to comment.