diff --git a/src/lib/actions/common/ecdh.ts b/src/lib/actions/common/ecdh.ts index b62d3b7..90f23e0 100644 --- a/src/lib/actions/common/ecdh.ts +++ b/src/lib/actions/common/ecdh.ts @@ -33,5 +33,9 @@ export async function process( const sharedSecret = crypto.createHash('sha256').update(_sharedSecret).digest() - return { sharedSecret: sharedSecret.toString('hex'), externalPubKey } + return { + externalPubKey, + sharedSecret: sharedSecret.toString('hex'), + creatorPubkey: wallet.getPublicKey().toString('hex'), + } }