From 45b18c1f3ab6a9e37071bdeb122c12a957b1581f Mon Sep 17 00:00:00 2001 From: Stephen Akridge Date: Mon, 18 Feb 2019 12:07:29 -0800 Subject: [PATCH] Fix storage system program account owner It should be the storage program instead of the system account id. --- src/bank.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bank.rs b/src/bank.rs index 042480c853d2fb..a674aba35b78a9 100644 --- a/src/bank.rs +++ b/src/bank.rs @@ -232,7 +232,7 @@ impl Bank { self.accounts .store_slow(true, &storage_program::id(), &storage_program_account); - let storage_system_account = Account::new(1, 16 * 1024, storage_program::system_id()); + let storage_system_account = Account::new(1, 16 * 1024, storage_program::id()); self.accounts .store_slow(true, &storage_program::system_id(), &storage_system_account);