File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
stackslib/src/net/api/tests Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -93,8 +93,10 @@ fn test_try_make_response() {
93
93
let mut requests = vec ! [ ] ;
94
94
95
95
// query existing block
96
- let request =
97
- StacksHttpRequest :: new_get_nakamoto_block_by_hash ( addr. into ( ) , nakamoto_chain_tip_hash. clone ( ) ) ;
96
+ let request = StacksHttpRequest :: new_get_nakamoto_block_by_hash (
97
+ addr. into ( ) ,
98
+ nakamoto_chain_tip_hash. clone ( ) ,
99
+ ) ;
98
100
requests. push ( request) ;
99
101
100
102
// query non-existant block
@@ -108,10 +110,7 @@ fn test_try_make_response() {
108
110
let response = responses. remove ( 0 ) ;
109
111
let resp = response. decode_nakamoto_block ( ) . unwrap ( ) ;
110
112
111
- assert_eq ! (
112
- resp. header. block_hash( ) ,
113
- nakamoto_chain_tip_hash
114
- ) ;
113
+ assert_eq ! ( resp. header. block_hash( ) , nakamoto_chain_tip_hash) ;
115
114
116
115
assert_eq ! ( resp. header. consensus_hash, consensus_hash) ;
117
116
Original file line number Diff line number Diff line change @@ -824,7 +824,7 @@ impl<'a> TestRPC<'a> {
824
824
32 ,
825
825
) ;
826
826
827
- let tip_height : u64 = 1 ;
827
+ let tip_height: u64 = 1 ;
828
828
829
829
TestRPC {
830
830
privk1,
You can’t perform that action at this time.
0 commit comments