Update index.js
This commit is contained in:
parent
356141847d
commit
36aaf6a116
10
index.js
10
index.js
@ -45,16 +45,16 @@ async function primusProofTest() {
|
||||
console.log("Submit task result:", submitTaskResult);
|
||||
|
||||
// Compose params for attest
|
||||
// const mTLS = {
|
||||
// clientCrt: "YourClientCrtString", // Please replace with your ownner client crt string
|
||||
// clientKey: "YourClientKeyString", // Please replace with your ownner client key string
|
||||
// }
|
||||
const mTLS = {
|
||||
clientCrt: "YourClientCrtString", // Please replace with your ownner client crt string
|
||||
clientKey: "YourClientKeyString", // Please replace with your ownner client key string
|
||||
}
|
||||
const attestParams = {
|
||||
...submitTaskParams,
|
||||
...submitTaskResult,
|
||||
requests,
|
||||
responseResolves,
|
||||
// mTLS
|
||||
mTLS
|
||||
};
|
||||
let attestResult = await primusNetwork.attest(attestParams);
|
||||
console.log("Attest result:", attestResult);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user