diff --git a/src/modules/rpc/server.ts b/src/modules/rpc/server.ts index b534bf9..7327ff5 100644 --- a/src/modules/rpc/server.ts +++ b/src/modules/rpc/server.ts @@ -133,7 +133,7 @@ export class RPCServer extends EventEmitter { } return crypto - .sign(Buffer.from(raw, this._cache.swarm.keyPair.privateKey)) + .sign(Buffer.from(raw, this._cache.swarm.keyPair.secretKey)) .toString("hex"); }