Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.{
.fingerprint = 0xdc47aff950fd68c0,
.name = .solana_program_sdk,
.version = "0.16.2",
.version = "0.16.3",
.minimum_zig_version = "0.14.0",

// This field is optional.
Expand Down
2 changes: 1 addition & 1 deletion src/instruction.zig
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub fn InstructionData(comptime Discriminant: type, comptime Data: type) type {
discriminant: Discriminant,
data: Data,
const Self = @This();
fn asBytes(self: *const Self) []const u8 {
pub fn asBytes(self: *const Self) []const u8 {
return std.mem.asBytes(self)[0..((@bitSizeOf(Discriminant) + @bitSizeOf(Data)) / 8)];
}
};
Expand Down
Loading