Skip to content

Commit 32b3fcd

Browse files
committed
chore: make clippy happy
1 parent ac429b8 commit 32b3fcd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/common/chain/lean/src/staker.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ impl Staker {
139139
}
140140

141141
fn get_current_slot(&self) -> anyhow::Result<u64> {
142-
return Err(anyhow::anyhow!("get_current_slot not implemented"));
142+
// Temporary.
143+
Ok(1)
143144
}
144145

145146
/// Called when it's the staker's turn to propose a block

0 commit comments

Comments
 (0)