Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix formatting
Browse files Browse the repository at this point in the history
Naviabheeman committed Dec 4, 2023
1 parent 2e79527 commit 1e6ada4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/federation.rs
Original file line number Diff line number Diff line change
@@ -438,7 +438,7 @@ pub struct SerFederation {
mod tests {
use crate::crypto::multi_party_schnorr::Signature;
use crate::errors::Error;
use crate::federation:: {Federation, Federations};
use crate::federation::{Federation, Federations};
use crate::hex::FromHex;
use crate::net::SignerID;
use crate::tapyrus::blockdata::block::XField;
@@ -568,7 +568,7 @@ mod tests {
}

let federations =
Federations::new(vec![valid_federation(), valid_federation_maxblocksize()]);
Federations::new(vec![valid_federation(), valid_federation_maxblocksize()]);
match federations.validate() {
Err(Error::InvalidFederation(None, m)) => {
assert_eq!(m, "The federations include block height duplication. The block height in all federations should be unique.")

0 comments on commit 1e6ada4

Please sign in to comment.