Skip to content

Commit 88e67f3

Browse files
refactor: use SCONE_TAG const
1 parent 929cc36 commit 88e67f3

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

packages/sdk/src/lib/dataProtectorCore/processProtectedData.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ export const processProtectedData = async ({
203203
iexec.orderbook
204204
.fetchAppOrderbook({
205205
app: vApp,
206-
minTag: ['tee', 'scone'],
207-
maxTag: ['tee', 'scone'],
206+
minTag: SCONE_TAG,
207+
maxTag: SCONE_TAG,
208208
workerpool: vWorkerpool,
209209
})
210210
.then((appOrderbook) => {
@@ -226,8 +226,7 @@ export const processProtectedData = async ({
226226
dataset: vProtectedData,
227227
requester: requester, // public orders + user specific orders
228228
isRequesterStrict: useVoucher, // If voucher, we only want user specific orders
229-
minTag: ['tee', 'scone'],
230-
maxTag: ['tee', 'scone'],
229+
minTag: SCONE_TAG,
231230
category: 0,
232231
}),
233232
// for app whitelist
@@ -237,8 +236,7 @@ export const processProtectedData = async ({
237236
dataset: vProtectedData,
238237
requester: requester, // public orders + user specific orders
239238
isRequesterStrict: useVoucher, // If voucher, we only want user specific orders
240-
minTag: ['tee', 'scone'],
241-
maxTag: ['tee', 'scone'],
239+
minTag: SCONE_TAG,
242240
category: 0,
243241
}),
244242
]).then(

0 commit comments

Comments
 (0)