File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
stackslib/src/chainstate/coordinator Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -2175,7 +2175,7 @@ fn test_simple_setup() {
2175
2175
let pox_id = ic. get_pox_id ( ) . unwrap ( ) ;
2176
2176
assert_eq ! (
2177
2177
& pox_id. to_string( ) ,
2178
- "110000000000 " ,
2178
+ "11 " ,
2179
2179
"PoX ID should reflect the initial 'known' reward cycle at genesis"
2180
2180
) ;
2181
2181
}
@@ -2203,12 +2203,8 @@ fn test_simple_setup() {
2203
2203
pox_id_string. push ( '1' ) ;
2204
2204
}
2205
2205
2206
- println ! ( "=> {}" , pox_id_string) ;
2207
- assert_eq ! (
2208
- pox_id_at_tip. to_string( ) ,
2209
- // right-pad pox_id_string to 11 characters
2210
- format!( "1{:0<11}" , pox_id_string)
2211
- ) ;
2206
+ println ! ( "=> {pox_id_string}" ) ;
2207
+ assert_eq ! ( pox_id_at_tip. to_string( ) , format!( "1{pox_id_string}" ) ) ;
2212
2208
}
2213
2209
}
2214
2210
You can’t perform that action at this time.
0 commit comments