Skip to content

Commit 50f0eec

Browse files
committed
fix conformance compile error
1 parent def64c2 commit 50f0eec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

conformance/src/bank_methods.zig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ fn applyBuiltinProgramFeatureTransitions(
168168
if (!feature_set.active(feature_id, 0)) continue;
169169

170170
const maybe_account = accounts_db.getAccountLatest(
171+
allocator,
171172
&precompile.program_id,
172173
) catch |err| switch (err) {
173174
error.PubkeyNotInIndex => null,
@@ -247,7 +248,7 @@ fn tryGetAccount(
247248
accounts_db: *AccountsDb,
248249
pubkey: Pubkey,
249250
) !?Account {
250-
return accounts_db.getAccountLatest(&pubkey) catch |err| switch (err) {
251+
return accounts_db.getAccountLatest(accounts_db.allocator, &pubkey) catch |err| switch (err) {
251252
error.PubkeyNotInIndex => null,
252253
else => error.AccountsDbInternal,
253254
};

0 commit comments

Comments
 (0)