From 4551dbcc388c2f4807f339a94490a62b022a3825 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Zwoli=C5=84ski?= Date: Mon, 21 Oct 2024 15:37:08 +0200 Subject: [PATCH] fix(types): axis type for eds new error reporting (#447) --- types/src/rsmt2d.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/src/rsmt2d.rs b/types/src/rsmt2d.rs index 7cbddff4..f9561c13 100644 --- a/types/src/rsmt2d.rs +++ b/types/src/rsmt2d.rs @@ -210,7 +210,7 @@ impl ExtendedDataSquare { let mut prev_ns = None; for row in 0..square_width { - let share = check_share(row, col, prev_ns, AxisType::Row)?; + let share = check_share(row, col, prev_ns, AxisType::Col)?; prev_ns = Some(share.namespace()); } }