What is Nostr?
pitiunited /
npub178u…qrg4
2024-10-02 13:52:16

pitiunited on Nostr: I'm trying to make use of this Go library https://github.com/nbd-wtf/ln-decodepay to ...

I'm trying to make use of this Go library https://github.com/nbd-wtf/ln-decodepay to decode lightning invoices.

When I run "go run ." it gives me the following errors:

github.com/lightningnetwork/lnd/keychain
../../go/pkg/mod/github.com/lightningnetwork/lnd@v0.18.3-beta.rc3/keychain/btcwallet.go:451:9: not enough return values
have ([]byte)
want ([]byte, error)
../../go/pkg/mod/github.com/lightningnetwork/lnd@v0.18.3-beta.rc3/keychain/signer.go:88:9: not enough return values
have ([]byte)
want ([]byte, error)

I'm following the example from the repo. What could be the issue?

CC fiatjaf (npub180c…h6w6)
Author Public Key
npub178umpxtdflcm7a08nexvs4mu384kx0ngg9w8ltm5eut6q7lcp0vq05qrg4