From 5a1f98f8c744a3635e34c95421d67809e154b71d Mon Sep 17 00:00:00 2001 From: Timo Tiuraniemi Date: Sun, 1 Sep 2024 10:01:50 +0300 Subject: [PATCH] fix: error message variable order --- src/storage/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/mod.rs b/src/storage/mod.rs index 46268ba..333da2b 100644 --- a/src/storage/mod.rs +++ b/src/storage/mod.rs @@ -161,9 +161,9 @@ impl Storage { Err(HypercoreError::InvalidOperation { context: format!( "Could not read from store {}, index {} / length {} is out of bounds for store length {}", + current_store, instruction.index, read_length, - current_store, length ), })