Skip to content

Commit

Permalink
fix(cmd): disable geyser (Syndica#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNineteen authored Jan 2, 2025
1 parent 882c162 commit e439c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geyser/core.zig
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ pub fn createGeyserWriterFromConfig(
allocator: std.mem.Allocator,
geyser_config: sig.cmd.config.GeyserConfig,
) !*GeyserWriter {
if (geyser_config.enable) return error.GeyserWriterIsDisabled;
if (!geyser_config.enable) return error.GeyserWriterIsDisabled;

const exit = try allocator.create(Atomic(bool));
exit.* = Atomic(bool).init(false);
Expand Down

0 comments on commit e439c9d

Please sign in to comment.