Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
SWvheerden committed Aug 19, 2022
1 parent f7115d1 commit 0941907
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base_layer/core/src/proof_of_work/monero_rx/pow_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ mod test {
#[test]
fn consensus_serialization() {
let bytes = from_hex(POW_DATA_BLOB).unwrap();
let data = MoneroPowData::from_consensus_bytes(bytes.as_slice())
.expect("If this fails then consensus has changed");
let data =
MoneroPowData::from_consensus_bytes(bytes.as_slice()).expect("If this fails then consensus has changed");
assert_eq!(data.transaction_count, 80);
assert_eq!(data.coinbase_merkle_proof.branch().len(), 6);
assert_eq!(bytes.len(), 435);
Expand Down

0 comments on commit 0941907

Please sign in to comment.