File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -213,10 +213,11 @@ export default class Client {
213213
214214 /**
215215 * @param {{[key: string]: (string | AccountId)} | string } network
216+ * @param {boolean } validate
216217 * @returns {void }
217218 */
218219 // eslint-disable-next-line @typescript-eslint/no-unused-vars
219- setNetwork ( network ) {
220+ setNetwork ( network , validate = true ) {
220221 // TODO: This logic _can_ be de-duplicated and likely should
221222 throw new Error ( "not implemented" ) ;
222223 }
Original file line number Diff line number Diff line change @@ -269,10 +269,14 @@ export default class NodeClient extends Client {
269269 * Available only for NodeClient
270270 *
271271 * @param {number } maxExecutionTime
272+ * @param {boolean } validate
272273 * @returns {this }
273274 */
274- setMaxExecutionTime ( maxExecutionTime ) {
275- this . _maxExecutionTime = maxExecutionTime ;
275+ setMaxExecutionTime ( maxExecutionTime , validate ) {
276+ if ( validate === false ) {
277+ this . _maxExecutionTime = maxExecutionTime ;
278+ return this ;
279+ }
276280 return this ;
277281 }
278282
You can’t perform that action at this time.
0 commit comments