Compare commits

..

2 Commits

Author SHA1 Message Date
fiatjaf
a99188e4cf remove log line for events with invalid signature. 2021-12-12 05:54:48 -03:00
fiatjaf
93b22e48a6 add nip06. 2021-12-11 19:46:51 -03:00
3 changed files with 2 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
import createHmac from 'create-hmac' import createHmac from 'create-hmac'
import randomBytes from 'randombytes'
import * as bip39 from 'bip39' import * as bip39 from 'bip39'
export function privateKeyFromSeed(seed) { export function privateKeyFromSeed(seed) {

View File

@@ -1,6 +1,6 @@
{ {
"name": "nostr-tools", "name": "nostr-tools",
"version": "0.7.0", "version": "0.7.2",
"description": "Tools for making a Nostr client.", "description": "Tools for making a Nostr client.",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@@ -84,8 +84,6 @@ export function relayConnect(url, onNotice) {
if (channels[channel]) { if (channels[channel]) {
channels[channel](event) channels[channel](event)
} }
} else {
console.warn('got event with invalid signature from ' + url, event)
} }
return return
} }