Skip to content

Commit

Permalink
chore: remove commented line
Browse files Browse the repository at this point in the history
  • Loading branch information
driemworks committed Oct 1, 2024
1 parent d8f4c29 commit e5582b1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion core/src/murmur.rs
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ mod tests {
));
}

// #[cfg(feature = "client")]
#[test]
pub fn it_fails_on_verify_bad_proof() {
let keypair = w3f_bls::KeypairVT::<TinyBLS377>::generate(&mut OsRng);
Expand Down
3 changes: 2 additions & 1 deletion lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ ark-std = "0.4.0"
ark-ff = "0.4.0"
ark-serialize = "0.4.0"
w3f-bls = "0.1.3"
murmur-core = { package = "murmur-core", path = "../core/", features = ["client"] }
murmur-core = { package = "murmur-core", path = "../core/", features = ["client"] }
zeroize = { version = "1.8.1", default-features = false }
3 changes: 2 additions & 1 deletion lib/src/bin/murmur/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
schedule,
round_pubkey_bytes,
).map_err(|_| CLIError::MurmurCreationFailed)?;
args.zeroize();
// 3. add to storage
write_mmr_store(mmr_store.clone(), MMR_STORE_FILEPATH);
// sign and send the call
Expand Down Expand Up @@ -156,7 +157,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
store,
balance_transfer_call,
).map_err(|_| CLIError::MurmurExecutionFailed)?;

args.zeroize();
// submit the tx using alice to sign it
let _result = client.tx()
.sign_and_submit_then_watch_default(&tx, &dev::alice())
Expand Down

0 comments on commit e5582b1

Please sign in to comment.