You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constcurrTimeSecs=Math.floor(Date.now()/1000);// Convert epoch milliseconds to seconds
121
121
if(expiryTimeSecs<=currTimeSecs)
122
122
{
123
123
logger.error("Supplied expiry time invalid or in the past: %s; current time: %s",newDate(expiryTimeSecs).toISOString(),newDate(currTimeSecs).toISOString());
logger.error("Asset count must be a positive integer");
186
-
return{preimage: "",result: ""};
186
+
return{preimage: "",hash: "",result: ""};
187
187
}
188
188
if(!recipientECert)
189
189
{
190
190
logger.error("Recipient ECert not supplied");
191
-
return{preimage: "",result: ""};
191
+
return{preimage: "",hash: "",result: ""};
192
192
}
193
193
constcurrTimeSecs=Math.floor(Date.now()/1000);// Convert epoch milliseconds to seconds
194
194
if(expiryTimeSecs<=currTimeSecs)
195
195
{
196
196
logger.error("Supplied expiry time invalid or in the past: %s; current time: %s",newDate(expiryTimeSecs).toISOString(),newDate(currTimeSecs).toISOString());
0 commit comments