*json var unused
This commit is contained in:
parent
45c1f76a87
commit
2b45ba18d0
|
@ -42,8 +42,6 @@ const plugin: Plugin = {
|
||||||
timestamp,
|
timestamp,
|
||||||
} as SignedPeerResponse;
|
} as SignedPeerResponse;
|
||||||
|
|
||||||
let json = jsonStringify(data);
|
|
||||||
|
|
||||||
data.signature = b4a
|
data.signature = b4a
|
||||||
.from(api.identity.sign(b4a.from(jsonStringify(data))))
|
.from(api.identity.sign(b4a.from(jsonStringify(data))))
|
||||||
.toString("hex");
|
.toString("hex");
|
||||||
|
|
Loading…
Reference in New Issue