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