Sign NIP-46 events with proof-of-work

This commit is contained in:
Alex Gleason
2023-11-20 17:52:37 -06:00
parent d293c9d900
commit 016198c301
3 changed files with 20 additions and 4 deletions

View File

@ -36,7 +36,7 @@ function useSignerStream() {
const respMsg = {
id: reqMsg.data.id,
result: await signEvent(reqMsg.data.params[0]),
result: await signEvent(reqMsg.data.params[0], reqMsg.data.params[1]),
};
const respEvent = await signEvent({