File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
stackslib/src/net/api/tests Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -338,8 +338,7 @@ impl<'a> TestRPC<'a> {
338
338
let mut tx_contract = StacksTransaction :: new (
339
339
TransactionVersion :: Testnet ,
340
340
TransactionAuth :: from_p2pkh ( & privk1) . unwrap ( ) ,
341
- TransactionPayload :: new_smart_contract ( & format ! ( "hello-world" ) , contract, None )
342
- . unwrap ( ) ,
341
+ TransactionPayload :: new_smart_contract ( "hello-world" , contract, None ) . unwrap ( ) ,
343
342
) ;
344
343
345
344
tx_contract. chain_id = 0x80000000 ;
@@ -377,7 +376,7 @@ impl<'a> TestRPC<'a> {
377
376
TransactionVersion :: Testnet ,
378
377
TransactionAuth :: from_p2pkh ( & privk1) . unwrap ( ) ,
379
378
TransactionPayload :: new_smart_contract (
380
- & format ! ( "hello-world-unconfirmed" ) ,
379
+ "hello-world-unconfirmed" ,
381
380
unconfirmed_contract,
382
381
None ,
383
382
)
You can’t perform that action at this time.
0 commit comments