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)
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)