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

Commit 76ad511

Browse files
authored
patches test_lamport_transfer (#3346)
solana-labs/solana#26606 prevents crediting a rent paying account if the account stays rent paying. As a result, test_lamport_transfer fails. The commit updates destination account lamports so that after transfer it is no longer rent paying.
1 parent a79cba0 commit 76ad511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/rust/transfer-lamports/tests/functional.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async fn test_lamport_transfer() {
3030
program_test.add_account(
3131
destination_pubkey,
3232
Account {
33-
lamports: 5,
33+
lamports: 890_875,
3434
..Account::default()
3535
},
3636
);

0 commit comments

Comments
 (0)