Skip to content

Commit 9d6865e

Browse files
committed
store: Remove unused methods on BlockRangeColumn
1 parent d2c922f commit 9d6865e

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

store/postgres/src/block_range.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,6 @@ impl<'a> BlockRangeColumn<'a> {
164164
}
165165
}
166166
}
167-
168-
pub fn block(&self) -> BlockNumber {
169-
match self {
170-
BlockRangeColumn::Mutable { block, .. } => *block,
171-
BlockRangeColumn::Immutable { block, .. } => *block,
172-
}
173-
}
174167
}
175168

176169
impl<'a> BlockRangeColumn<'a> {
@@ -226,13 +219,6 @@ impl<'a> BlockRangeColumn<'a> {
226219
}
227220
}
228221

229-
pub fn column_name(&self) -> &str {
230-
match self {
231-
BlockRangeColumn::Mutable { .. } => BLOCK_RANGE_COLUMN,
232-
BlockRangeColumn::Immutable { .. } => BLOCK_COLUMN,
233-
}
234-
}
235-
236222
/// Output the qualified name of the block range column
237223
pub fn name(&self, out: &mut AstPass<Pg>) {
238224
match self {

0 commit comments

Comments
 (0)