We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent def64c2 commit 50f0eecCopy full SHA for 50f0eec
conformance/src/bank_methods.zig
@@ -168,6 +168,7 @@ fn applyBuiltinProgramFeatureTransitions(
168
if (!feature_set.active(feature_id, 0)) continue;
169
170
const maybe_account = accounts_db.getAccountLatest(
171
+ allocator,
172
&precompile.program_id,
173
) catch |err| switch (err) {
174
error.PubkeyNotInIndex => null,
@@ -247,7 +248,7 @@ fn tryGetAccount(
247
248
accounts_db: *AccountsDb,
249
pubkey: Pubkey,
250
) !?Account {
- return accounts_db.getAccountLatest(&pubkey) catch |err| switch (err) {
251
+ return accounts_db.getAccountLatest(accounts_db.allocator, &pubkey) catch |err| switch (err) {
252
253
else => error.AccountsDbInternal,
254
};
0 commit comments