From 224d929d4d497573c4b2cfbf32d52aa7e83110b5 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Thu, 25 Oct 2018 08:22:04 -0700 Subject: [PATCH] docs: correct API params --- web3.js/src/token-program.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web3.js/src/token-program.js b/web3.js/src/token-program.js index b65c134a84..d64a81925e 100644 --- a/web3.js/src/token-program.js +++ b/web3.js/src/token-program.js @@ -493,7 +493,6 @@ export class Token { /** * Construct an Approve instruction * - * @param programId Token program * @param owner Owner of the source token account * @param account Public key of the token account * @param delegate Token account authorized to perform a transfer tokens from the source account @@ -529,11 +528,9 @@ export class Token { /** * Construct an Revoke instruction * - * @param programId Token program * @param owner Owner of the source token account * @param account Public key of the token account * @param delegate Token account authorized to perform a transfer tokens from the source account - * @param amount Maximum number of tokens the delegate may transfer */ revokeInstruction( owner: PublicKey, @@ -546,7 +543,6 @@ export class Token { /** * Construct a SetOwner instruction * - * @param programId Token program * @param owner Owner of the token account * @param account Public key of the token account * @param newOwner New owner of the token account