We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
decode
1 parent 257db32 commit 7e9835cCopy full SHA for 7e9835c
src/ae/oracle.js
@@ -108,13 +108,7 @@ async function getQueryObject (oracleId, queryId) {
108
decodedQuery: decode(q.query).toString(),
109
decodedResponse: decode(q.response).toString(),
110
respond: this.respondToQuery.bind(this, oracleId, queryId),
111
- pollForResponse: this.pollForQueryResponse.bind(this, oracleId, queryId),
112
- /**
113
- * @deprecated use plain decode instead
114
- * @param data
115
- * @returns {Buffer}
116
- */
117
- decode: (data) => decode(data)
+ pollForResponse: this.pollForQueryResponse.bind(this, oracleId, queryId)
118
}
119
120
0 commit comments