From 1505b2484bf5e776f77041a6414c0cbb872b18d6 Mon Sep 17 00:00:00 2001 From: JesseTheRobot Date: Wed, 11 Oct 2023 19:02:36 +0000 Subject: [PATCH] fix: :bug: error: Fix incorrect positional formatter index in derive ChunkSizeOutOfRange error macro --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.rs b/src/error.rs index 535487e..34fc588 100644 --- a/src/error.rs +++ b/src/error.rs @@ -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}")]