Skip to content

Commit

Permalink
Exit after slashing
Browse files Browse the repository at this point in the history
  • Loading branch information
ekrembal committed Feb 2, 2024
1 parent 185ff3d commit 266bc3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ async fn handle_connection(stream: TcpStream) {
.send_raw_transaction(&steal_tx)
.unwrap_or_else(|e| panic!("Failed to send raw transaction: {}", e));
println!("Verifier slashed the prover: {:?}", steal_txid);
std::process::exit(0);
}
// Prover needs to give signature to verifier so that verifier can start a challenge
challenge_gate_num =
Expand Down

0 comments on commit 266bc3d

Please sign in to comment.