Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Test appending account_deps to accounts in transaction loading.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lichtso committed Jul 1, 2021
1 parent e46ed5b commit 91d65fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/src/accounts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ impl Accounts {
accounts.push((*key, account));
}
debug_assert_eq!(accounts.len(), message.account_keys.len());
// REFACTOR: account_deps unification
accounts.append(&mut account_deps.clone());

if let Some(payer_index) = payer_index {
if payer_index != 0 {
Expand Down

0 comments on commit 91d65fe

Please sign in to comment.