Skip to content

Commit

Permalink
chore(wasm-dpp): cleanup masternode vote
Browse files Browse the repository at this point in the history
  • Loading branch information
pshenmic committed Dec 18, 2024
1 parent ec0c4d5 commit 0aaf02a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ impl MasternodeVoteTransitionWasm {
let bytes = PlatformSerializable::serialize_to_bytes(&StateTransition::MasternodeVote(
self.0.clone(),
))
.with_js_error()?;
.with_js_error()?;
Ok(Buffer::from_bytes(&bytes))
}

Expand Down Expand Up @@ -300,7 +300,7 @@ impl MasternodeVoteTransitionWasm {
Some(js_object)
}
}
}
},
}
}

Expand All @@ -319,7 +319,7 @@ impl MasternodeVoteTransitionWasm {
return Err(JsError::new(
format!("BLS adapter is required for BLS key type '{}'", key_type).as_str(),
)
.into());
.into());
}

let bls_adapter = if let Some(adapter) = bls {
Expand Down

0 comments on commit 0aaf02a

Please sign in to comment.