Skip to content

Commit

Permalink
Merge pull request #217 from tronprotocol/feature/v4.1.0
Browse files Browse the repository at this point in the history
delete _isConstant at call entrance
  • Loading branch information
unicornonea authored Dec 23, 2021
2 parents d315394 + 1957db2 commit 4f389d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/contract/method.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default class Method {
rawParameter = encodeParamsV2ByABI(this.abi, args);
}
return {
call: (options = {}, cb = false) => this._call([], [], Object.assign(options, { rawParameter, _isConstant: true }), cb),
call: (options = {}, cb = false) => this._call([], [], Object.assign(options, { rawParameter }), cb),
send: (options = {}, pk = this.tronWeb.defaultPrivateKey, cb = false) => this._send([], [], Object.assign(options, { rawParameter }), pk, cb),
watch: (options = {}, cb = false) => this._watch(options, cb)
}
Expand Down

0 comments on commit 4f389d7

Please sign in to comment.