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

Commit 6dc7bc6

Browse files
committed
Set native amount
1 parent 2988ef8 commit 6dc7bc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

program/src/processor/shared/initialize_account.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ pub fn process_initialize_account(
7777

7878
if is_native_mint {
7979
account.set_native(true);
80+
account.set_native_amount(minimum_balance);
8081
unsafe {
8182
account.set_amount(
8283
new_account_info

0 commit comments

Comments
 (0)