• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lightningnetwork / lnd / 13035292482

29 Jan 2025 03:59PM UTC coverage: 49.3% (-9.5%) from 58.777%
13035292482

Pull #9456

github

mohamedawnallah
docs: update release-notes-0.19.0.md

In this commit, we warn users about the removal
of RPCs `SendToRoute`, `SendToRouteSync`, `SendPayment`,
and `SendPaymentSync` in the next release 0.20.
Pull Request #9456: lnrpc+docs: deprecate warning `SendToRoute`, `SendToRouteSync`, `SendPayment`, and `SendPaymentSync` in Release 0.19

100634 of 204126 relevant lines covered (49.3%)

1.54 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/lnencrypt/test_utils.go
1
package lnencrypt
2

3
import (
4
        "fmt"
5

6
        "github.com/btcsuite/btcd/btcec/v2"
7
        "github.com/lightningnetwork/lnd/keychain"
8
)
9

10
var (
11
        testWalletPrivKey = []byte{
12
                0x2b, 0xd8, 0x06, 0xc9, 0x7f, 0x0e, 0x00, 0xaf,
13
                0x1a, 0x1f, 0xc3, 0x32, 0x8f, 0xa7, 0x63, 0xa9,
14
                0x26, 0x97, 0x23, 0xc8, 0xdb, 0x8f, 0xac, 0x4f,
15
                0x93, 0xaf, 0x71, 0xdb, 0x18, 0x6d, 0x6e, 0x90,
16
        }
17
)
18

19
type MockKeyRing struct {
20
        Fail bool
21
}
22

23
func (m *MockKeyRing) DeriveNextKey(
24
        keyFam keychain.KeyFamily) (keychain.KeyDescriptor, error) {
×
25

×
26
        return keychain.KeyDescriptor{}, nil
×
27
}
×
28

29
func (m *MockKeyRing) DeriveKey(
30
        keyLoc keychain.KeyLocator) (keychain.KeyDescriptor, error) {
×
31

×
32
        if m.Fail {
×
33
                return keychain.KeyDescriptor{}, fmt.Errorf("fail")
×
34
        }
×
35

36
        _, pub := btcec.PrivKeyFromBytes(testWalletPrivKey)
×
37
        return keychain.KeyDescriptor{
×
38
                PubKey: pub,
×
39
        }, nil
×
40
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc