mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-03-19 06:12:44 +01:00
Fixes a nil pointer when the Publish succeeds. In that case the err is nil, and calling .Error() on nil causes a nil pointer exception. Reproduced at: https://play.golang.com/p/ps8d82Qt9kO