File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 29
29
SequenceLockTimeSeconds = uint32 (1 << 22 )
30
30
)
31
31
32
- // mustParsePubKey parses a hex encoded public key string into a public key and
32
+ // MustParsePubKey parses a hex encoded public key string into a public key and
33
33
// panic if parsing fails.
34
- func mustParsePubKey (pubStr string ) btcec.PublicKey {
34
+ func MustParsePubKey (pubStr string ) btcec.PublicKey {
35
35
pubBytes , err := hex .DecodeString (pubStr )
36
36
if err != nil {
37
37
panic (err )
55
55
// https://github.com/lightninglabs/lightning-node-connect/tree/
56
56
// master/mailbox/numsgen, with the seed phrase "Lightning Simple
57
57
// Taproot".
58
- TaprootNUMSKey = mustParsePubKey (TaprootNUMSHex )
58
+ TaprootNUMSKey = MustParsePubKey (TaprootNUMSHex )
59
59
)
60
60
61
61
// Signature is an interface for objects that can populate signatures during
You can’t perform that action at this time.
0 commit comments