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.
2 parents 474c70f + 65dbc7c commit 3b6d6bcCopy full SHA for 3b6d6bc
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@nillion/nuc",
3
- "version": "0.1.0-rc.9",
+ "version": "0.1.0-rc.10",
4
"license": "MIT",
5
"repository": "https://github.com/NillionNetwork/nuc-ts",
6
"engines": {
src/nilauth/client.ts
@@ -405,9 +405,12 @@ export class NilauthClient {
405
blind_module: blindModule,
406
});
407
const payloadHex = toHex(payload);
408
+ const payloadDigest = sha256(payload);
409
+ log(
410
+ `Making payment with payload=${payloadHex}, digest=${bytesToHex(payloadDigest)}`,
411
+ );
412
413
const request = {
- payload: payloadHex,
414
hash: sha256(payload),
415
cost: amount,
416
};
0 commit comments