Skip to content

Commit

Permalink
fix: 🐛 error: Fix incorrect positional formatter index in derive Chun…
Browse files Browse the repository at this point in the history
…kSizeOutOfRange error macro
  • Loading branch information
JesseTheRobot committed Oct 11, 2023
1 parent eca121d commit 1505b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub enum BundlrError {
#[error("Tx status not confirmed")]
TxStatusNotConfirmed,

#[error("Chunk size out of allowed range: {0} - {0}")]
#[error("Chunk size out of allowed range: {0} - {1}")]
ChunkSizeOutOfRange(u64, u64),

#[error("Error posting chunk: {0}")]
Expand Down

0 comments on commit 1505b24

Please sign in to comment.