Skip to content

Commit ef448aa

Browse files
committed
fmt
1 parent 22403b2 commit ef448aa

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/common/types.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ use clvmr::allocator::{Allocator, NodePtr, SExp};
1616
use clvmr::reduction::EvalErr;
1717
use clvmr::serde::{node_from_bytes, node_to_bytes};
1818

19-
#[cfg(all(test, feature="sim-tests"))]
19+
#[cfg(all(test, feature = "sim-tests"))]
2020
use clvm_tools_rs::classic::clvm::__type_compatibility__::Stream;
21-
#[cfg(all(test, feature="sim-tests"))]
21+
#[cfg(all(test, feature = "sim-tests"))]
2222
use clvm_tools_rs::classic::clvm::serialize::sexp_to_stream;
2323
use clvm_tools_rs::classic::clvm::sexp::proper_list;
2424
use clvm_tools_rs::classic::clvm::syntax_error::SyntaxErr;
@@ -547,7 +547,7 @@ impl Default for Node {
547547
}
548548

549549
impl Node {
550-
#[cfg(all(test, feature="sim-tests"))]
550+
#[cfg(all(test, feature = "sim-tests"))]
551551
pub fn to_hex(&self, allocator: &mut AllocEncoder) -> String {
552552
let mut stream = Stream::new(None);
553553
sexp_to_stream(allocator.allocator(), self.0, &mut stream);

src/tests/game.rs

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ use rand::prelude::*;
44
#[cfg(feature = "sim-tests")]
55
use crate::channel_handler::game::Game;
66
#[cfg(feature = "sim-tests")]
7+
use crate::channel_handler::runner::ChannelHandlerGame;
8+
#[cfg(feature = "sim-tests")]
79
use crate::channel_handler::types::ChannelHandlerEnv;
810
#[cfg(feature = "sim-tests")]
9-
use crate::channel_handler::runner::ChannelHandlerGame;
11+
use crate::common::standard_coin::{
12+
private_to_public_key, puzzle_hash_for_synthetic_public_key, ChiaIdentity,
13+
};
1014
#[cfg(feature = "sim-tests")]
1115
use crate::common::types::{Amount, CoinString, Error, IntoErr, Timeout};
12-
#[cfg(feature = "sim-tests")]
13-
use crate::common::standard_coin::{ChiaIdentity, private_to_public_key, puzzle_hash_for_synthetic_public_key};
1416

1517
#[cfg(feature = "sim-tests")]
1618
use crate::tests::simulator::Simulator;

0 commit comments

Comments
 (0)