Skip to content

Commit eb943ac

Browse files
committed
Fix storage import and string type issues in genesis activation
1 parent f1165d3 commit eb943ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

development/qnet-integration/src/bin/qnet-node.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3504,7 +3504,7 @@ async fn load_cached_peers() -> Result<Vec<String>, Box<dyn std::error::Error>>
35043504
}
35053505

35063506
async fn get_activation_with_auto_genesis() -> Result<(NodeType, String), Box<dyn std::error::Error>> {
3507-
use crate::storage::Storage;
3507+
use qnet_integration::storage::Storage;
35083508

35093509
// Try to initialize storage first
35103510
let temp_storage = match Storage::new("./temp_activation_check") {
@@ -3535,7 +3535,7 @@ async fn get_activation_with_auto_genesis() -> Result<(NodeType, String), Box<dy
35353535
println!(" [TIME] Activated: {} days ago", (current_time - timestamp) / (24 * 60 * 60));
35363536
println!(" [UNIVERSAL] Works on VPS, VDS, PC, laptop, server");
35373537
println!(" [RESUMING] Resuming node with existing activation...\n");
3538-
return Ok((node_type, code.to_string()));
3538+
return Ok((node_type, code));
35393539
}
35403540
Ok(None) => {
35413541
println!("[DEBUG] No existing activation found");

0 commit comments

Comments
 (0)