Skip to content

Commit 4f59f67

Browse files
committed
Simplify RPC adapter, accommodate epoch = 0
Add test coverage for this to satisfy codecov
1 parent b4cdf97 commit 4f59f67

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/rpc/client.zig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ pub const Client = struct {
2323
cluster_type: ClusterType,
2424
options: HttpPostFetcher.Options,
2525
) Allocator.Error!Client {
26-
return .{ .fetcher = try HttpPostFetcher.init(allocator, rpcUrl(cluster_type), options) };
26+
return .{
27+
.fetcher = try .init(allocator, rpcUrl(cluster_type), options),
28+
};
2729
}
2830

2931
pub fn deinit(self: *Client) void {

0 commit comments

Comments
 (0)