You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs at https://yihau.gitbook.io/solana-go/tour/transfer-1 currently demonstrates token transfers using system.transfer, which is incorrect for token transfers. This method is appropriate for SOL transfers but not for other tokens.
Current Behavior
The docs shows:
sysprog.Transfer(sysprog.TransferParam{
From: alice.PublicKey,
To: common.PublicKeyFromString("2xNweLHLqrbx4zo1waDvgWJHgsUpPj8Y8icbAFeR4a8i"),
Amount: 1e9,
})
The docs at https://yihau.gitbook.io/solana-go/tour/transfer-1 currently demonstrates token transfers using
system.transfer
, which is incorrect for token transfers. This method is appropriate for SOL transfers but not for other tokens.Current Behavior
The docs shows:
Expected Behaviour
The text was updated successfully, but these errors were encountered: