From 8bc512f42e8891cd25f52e7da38fd3b5718a9d99 Mon Sep 17 00:00:00 2001 From: skosito Date: Sun, 10 Nov 2024 21:29:01 +0100 Subject: [PATCH] comments fixes --- contrib/localnet/solana/start-solana.sh | 2 +- pkg/contracts/solana/gateway.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/localnet/solana/start-solana.sh b/contrib/localnet/solana/start-solana.sh index 4c74bbce29..73a4564f56 100644 --- a/contrib/localnet/solana/start-solana.sh +++ b/contrib/localnet/solana/start-solana.sh @@ -8,7 +8,7 @@ echo "starting solana test validator..." solana-test-validator & sleep 5 -# airdrop to e2e sol account and rent payer +# airdrop to e2e sol account and rent payer (used to generate atas for withdraw spl receivers if they don't exist) solana airdrop 100 solana airdrop 100 37yGiHAnLvWZUNVwu9esp74YQFqxU1qHCbABkDvRddUQ solana airdrop 100 C6KPvGDYfNusoE4yfRP21F8wK35bxCBMT69xk4xo3X79 diff --git a/pkg/contracts/solana/gateway.go b/pkg/contracts/solana/gateway.go index d1cc628f93..34cbcb0261 100644 --- a/pkg/contracts/solana/gateway.go +++ b/pkg/contracts/solana/gateway.go @@ -60,7 +60,7 @@ func ParseGatewayIDAndPda(address string) (solana.PublicKey, solana.PublicKey, e return gatewayID, pda, err } -// ParseGatewayAddressAndPda parses the rent payer program derived address from the given string +// ParseRentPayerPda parses the rent payer program derived address from the given string func ParseRentPayerPda(address string) (solana.PublicKey, error) { var rentPayerPda solana.PublicKey