File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,8 @@ async fn vss_v0_schema_backwards_compatibility() {
6767 let vss_base_url = std:: env:: var ( "TEST_VSS_BASE_URL" ) . unwrap ( ) ;
6868
6969 let storage_path = common:: random_storage_path ( ) . to_str ( ) . unwrap ( ) . to_owned ( ) ;
70- let seed_bytes = [ 42u8 ; 64 ] ;
70+ let mut seed_bytes = [ 42u8 ; 64 ] ;
71+ rand:: thread_rng ( ) . fill_bytes ( & mut seed_bytes) ;
7172 let node_entropy = NodeEntropy :: from_seed_bytes ( seed_bytes) ;
7273
7374 // Setup a v0.6.2 `Node` persisted with the v0 scheme.
@@ -143,7 +144,8 @@ async fn vss_node_restart() {
143144 let vss_base_url = std:: env:: var ( "TEST_VSS_BASE_URL" ) . unwrap ( ) ;
144145
145146 let storage_path = common:: random_storage_path ( ) . to_str ( ) . unwrap ( ) . to_owned ( ) ;
146- let seed_bytes = [ 42u8 ; 64 ] ;
147+ let mut seed_bytes = [ 42u8 ; 64 ] ;
148+ rand:: thread_rng ( ) . fill_bytes ( & mut seed_bytes) ;
147149 let node_entropy = NodeEntropy :: from_seed_bytes ( seed_bytes) ;
148150
149151 // Setup initial node and fund it.
You can’t perform that action at this time.
0 commit comments