Skip to content

Commit

Permalink
wip fix hard slash arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
herr-seppia committed Jul 10, 2024
1 parent 893c3fa commit 1509ab9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rusk/src/lib/chain/rusk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -635,14 +635,14 @@ fn slash(session: &mut Session, slash: Vec<Slash>) -> Result<Vec<Event>> {
node_data::ledger::SlashType::Hard => session.call::<_, ()>(
STAKE_CONTRACT,
"hard_slash",
&(provisioner, None::<u64>),
&(provisioner, None::<u64>, None::<u64>),
u64::MAX,
),
node_data::ledger::SlashType::HardWithSeverity(severity) => session
.call::<_, ()>(
STAKE_CONTRACT,
"hard_slash",
&(provisioner, Some(severity)),
&(provisioner, None::<u64>, Some(severity)),
u64::MAX,
),
}?;
Expand Down

0 comments on commit 1509ab9

Please sign in to comment.