File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,4 @@ export const DEFAULT_IPFS_GATEWAY = 'https://ipfs-gateway.v8-bellecour.iex.ec';
1111export const WHITELIST_SMART_CONTRACT_ADDRESS =
1212 '0x781482C39CcE25546583EaC4957Fb7Bf04C277D2' ;
1313export const ANY_DATASET_ADDRESS = 'any' ;
14+ export const CALLBACK_WEB3MAIL = '0x5f936db7ad6d29371808e42a87015595d90509ba' ;
Original file line number Diff line number Diff line change 11import { Buffer } from 'buffer' ;
22import {
3+ CALLBACK_WEB3MAIL ,
34 DEFAULT_CONTENT_TYPE ,
45 MAX_DESIRED_APP_ORDER_PRICE ,
56 MAX_DESIRED_DATA_ORDER_PRICE ,
@@ -269,6 +270,7 @@ export const sendEmail = async ({
269270 contentType : vContentType ,
270271 senderName : vSenderName ,
271272 emailContentEncryptionKey,
273+ useCallback : true
272274 } )
273275 ) ;
274276
@@ -281,6 +283,7 @@ export const sendEmail = async ({
281283 workerpoolmaxprice : workerpoolorder . workerpoolprice ,
282284 tag : [ 'tee' , 'scone' ] ,
283285 workerpool : vWorkerpoolAddressOrEns ,
286+ callback : CALLBACK_WEB3MAIL ,
284287 params : {
285288 iexec_secrets : {
286289 1 : requesterSecretId ,
You can’t perform that action at this time.
0 commit comments