mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-11-22 12:10:33 +01:00
nip60: an e2e test with two wallets sending tokens around, but it's broken.
This commit is contained in:
@@ -141,7 +141,7 @@ func loadStash(
|
||||
// if we already have a wallet with this identifier then we must be careful
|
||||
if curr, ok := wl.wallets[wallet.Identifier]; ok {
|
||||
// if the metadata we have is newer ignore this event
|
||||
if curr.event.CreatedAt > ie.Event.CreatedAt {
|
||||
if curr.event != nil && curr.event.CreatedAt > ie.Event.CreatedAt {
|
||||
wl.Unlock()
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user