Skip to content

Commit

Permalink
fix: resolve merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
obycode committed Apr 26, 2024
1 parent 4cf6658 commit b3a0f1e
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions stacks-signer/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -598,26 +598,6 @@ Public key: 03bc489f27da3701d9f9e577c88de5567cf4023111b7577042d55cde4d823a3505
Network: testnet
Database path: :memory:
DKG transaction fee: 0.01 uSTX
"#
)
);
}

#[test]
fn test_config_to_string() {
let config = GlobalConfig::load_from_file("./src/tests/conf/signer-0.toml").unwrap();
let config_str = config.config_to_log_string();
assert_eq!(
config_str,
format!(
r#"
Stacks node host: 127.0.0.1:20443
Signer endpoint: [::1]:30000
Stacks address: ST3FPN8KBZ3YPBP0ZJGAAHTVFMQDTJCR5QPS7VTNJ
Public key: 03bc489f27da3701d9f9e577c88de5567cf4023111b7577042d55cde4d823a3505
Network: testnet
Database path: :memory:
DKG transaction fee: 0.01 uSTX
"#
)
);
Expand Down

0 comments on commit b3a0f1e

Please sign in to comment.