Skip to content

Commit

Permalink
chore: Remove unnecessary format!() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
jbencin committed Jan 23, 2025
1 parent 55b6643 commit dc5bbe3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions stackslib/src/net/api/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,7 @@ impl<'a> TestRPC<'a> {
let mut tx_contract = StacksTransaction::new(
TransactionVersion::Testnet,
TransactionAuth::from_p2pkh(&privk1).unwrap(),
TransactionPayload::new_smart_contract(&format!("hello-world"), contract, None)
.unwrap(),
TransactionPayload::new_smart_contract("hello-world", contract, None).unwrap(),
);

tx_contract.chain_id = 0x80000000;
Expand Down Expand Up @@ -377,7 +376,7 @@ impl<'a> TestRPC<'a> {
TransactionVersion::Testnet,
TransactionAuth::from_p2pkh(&privk1).unwrap(),
TransactionPayload::new_smart_contract(
&format!("hello-world-unconfirmed"),
"hello-world-unconfirmed",
unconfirmed_contract,
None,
)
Expand Down

0 comments on commit dc5bbe3

Please sign in to comment.