mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-28 19:55:20 +08:00
fix: rustfmt
This commit is contained in:
@@ -96,7 +96,8 @@ use chainstate::stacks::db::unconfirmed::UnconfirmedState;
|
||||
|
||||
use crate::burnchains::bitcoin::address::BitcoinAddress;
|
||||
|
||||
pub static EMPTY_GENESIS_CHAINSTATE_HASH: &str = "0000000000000000000000000000000000000000000000000000000000000000";
|
||||
pub static EMPTY_GENESIS_CHAINSTATE_HASH: &str =
|
||||
"0000000000000000000000000000000000000000000000000000000000000000";
|
||||
|
||||
pub struct StacksChainState {
|
||||
pub mainnet: bool,
|
||||
|
||||
@@ -518,7 +518,7 @@ impl ConversationHttp {
|
||||
chainstate,
|
||||
peerdb,
|
||||
&handler_args.exit_at_block_height,
|
||||
&handler_args.genesis_chainstate_hash
|
||||
&handler_args.genesis_chainstate_hash,
|
||||
) {
|
||||
Ok(pi) => {
|
||||
let response = HttpResponseType::PeerInfo(response_metadata, pi);
|
||||
|
||||
@@ -19,7 +19,8 @@ pub struct GenesisAccountVesting {
|
||||
pub block_height: u64,
|
||||
}
|
||||
|
||||
pub static GENESIS_CHAINSTATE_HASH: &str = include_str!(concat!(env!("OUT_DIR"), "/chainstate.txt.sha256"));
|
||||
pub static GENESIS_CHAINSTATE_HASH: &str =
|
||||
include_str!(concat!(env!("OUT_DIR"), "/chainstate.txt.sha256"));
|
||||
|
||||
pub fn read_balances() -> Box<dyn Iterator<Item = GenesisAccountBalance>> {
|
||||
let account_balances_bytes = include_bytes!(concat!(env!("OUT_DIR"), "/account_balances.gz"));
|
||||
|
||||
Reference in New Issue
Block a user