We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45c3f1e commit 8057e81Copy full SHA for 8057e81
client/src/sdk/LocalConnection.js
@@ -227,11 +227,6 @@ class LocalConnection extends Connection {
227
* @return {Object} - {txn_output, query_output, problems}
228
*/
229
query(params) {
230
- // Check if `outputs` is valid, exit if not.
231
- if (typeof params.out === 'undefined' || params.out === null || params.out.length === null || params.out.length === 0) {
232
- throw new Error("`params.outputs` array must have values.")
233
- }
234
-
235
return new Promise((resolve, reject) => {
236
let action = new sdk.QueryAction()
237
action.source = new sdk.Source()
0 commit comments