1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Mark sendToken as optional in constructTxParams docs (#9561)

[skip e2e]
This commit is contained in:
Whymarrh Whitby 2020-10-13 11:45:33 -02:30 committed by GitHub
parent 6e8c9aede8
commit 8c989cd777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -384,7 +384,7 @@ export function addHexPrefixToObjectValues (obj) {
* Given the standard set of information about a transaction, returns a transaction properly formatted for
* publishing via JSON RPC and web3
*
* @param {string|object|boolean} sendToken - Indicates whether or not the transaciton is a token transaction
* @param {boolean} [sendToken] - Indicates whether or not the transaciton is a token transaction
* @param {string} data - A hex string containing the data to include in the transaction
* @param {string} to - A hex address of the tx recipient address
* @param {string} from - A hex address of the tx sender address