Skip to content
Open
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 antd-zig/examples/02-data.zig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub fn main() !void {
const message = "Hello, Autonomi!";
std.debug.print("Storing public data: {s}\n", .{message});

const put_result = try client.dataPutPublic(message);
const put_result = try client.dataPutPublic(message, null);
defer put_result.deinit(allocator);

std.debug.print("Stored at address: {s}\n", .{put_result.address});
Expand Down
2 changes: 1 addition & 1 deletion antd-zig/examples/06-private-data.zig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub fn main() !void {
const secret_message = "This is private data";
std.debug.print("Storing private data...\n", .{});

const put_result = try client.dataPutPrivate(secret_message);
const put_result = try client.dataPutPrivate(secret_message, null);
defer put_result.deinit(allocator);

std.debug.print("Data map: {s}\n", .{put_result.address});
Expand Down