*privateKey needs to be secretKey

This commit is contained in:
Derrick Hammer 2022-11-26 14:36:44 -05:00
parent 00fc999169
commit 0d5aa24b74
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ export class RPCServer extends EventEmitter {
} }
return crypto return crypto
.sign(Buffer.from(raw, this._cache.swarm.keyPair.privateKey)) .sign(Buffer.from(raw, this._cache.swarm.keyPair.secretKey))
.toString("hex"); .toString("hex");
} }