Mark sendToken as optional in constructTxParams docs (#9561)

[skip e2e]
feature/default_network_editable
Whymarrh Whitby 4 years ago committed by GitHub
parent 6e8c9aede8
commit 8c989cd777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui/app/helpers/utils/util.js

@ -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

Loading…
Cancel
Save