Skip to content

Commit

Permalink
fix(cmd): genesis config new function
Browse files Browse the repository at this point in the history
  • Loading branch information
dnut committed Dec 13, 2024
1 parent 1c292fc commit f3c5d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/cmd.zig
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ fn shredCollector() !void {

const genesis_path = try config.current.genesisFilePath() orelse
return error.GenesisPathNotProvided;
const genesis_config = try readGenesisConfig(allocator, genesis_path);
const genesis_config = try GenesisConfig.init(allocator, genesis_path);

var rpc_client = sig.rpc.Client.init(allocator, genesis_config.cluster_type, .{});
defer rpc_client.deinit();
Expand Down

0 comments on commit f3c5d10

Please sign in to comment.