*privateKey needs to be secretKey
This commit is contained in:
parent
00fc999169
commit
0d5aa24b74
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue