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()); } }