Skip to content

Commit

Permalink
chore: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
cfcosta committed Jul 30, 2024
1 parent 2a4c6f9 commit bd98c47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
9 changes: 1 addition & 8 deletions circuits/guest/src/bin/fission.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use mugraph_core::{BlindedNote, Hash, Result, Split, CHANGE_SEP, OUTPUT_SEP};
use risc0_zkvm::guest::env;

#[inline(always)]
fn run() -> Result<()> {
fn main() -> Result<()> {
let mut buf = [0u8; Split::SIZE];
let mut out = [0u8; BlindedNote::SIZE];
let mut chan = [0u8; BlindedNote::SIZE];
Expand Down Expand Up @@ -50,10 +50,3 @@ fn run() -> Result<()> {

Ok(())
}

fn main() {
match run() {
Ok(_) => {}
Err(e) => panic!("{}", e),
}
}
10 changes: 1 addition & 9 deletions circuits/guest/src/bin/fusion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use mugraph_core::{BlindedNote, Hash, Join, Result, OUTPUT_SEP};

use risc0_zkvm::guest::env;

#[inline(always)]
fn run() -> Result<()> {
fn main() -> Result<()> {
let mut buf = [0u8; Join::SIZE];
env::read_slice(&mut buf);

Expand Down Expand Up @@ -37,10 +36,3 @@ fn run() -> Result<()> {

Ok(())
}

fn main() {
match run() {
Ok(_) => {}
Err(e) => panic!("{}", e),
}
}

0 comments on commit bd98c47

Please sign in to comment.