mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-30 18:13:35 +02:00
htlcswitch/test: do not set amount and cltv for blinded test cases
This commit is contained in:
@@ -231,10 +231,6 @@ var decodePayloadTests = []decodePayloadTest{
|
|||||||
{
|
{
|
||||||
name: "intermediate hop with encrypted data",
|
name: "intermediate hop with encrypted data",
|
||||||
payload: []byte{
|
payload: []byte{
|
||||||
// amount
|
|
||||||
0x02, 0x00,
|
|
||||||
// cltv
|
|
||||||
0x04, 0x00,
|
|
||||||
// encrypted data
|
// encrypted data
|
||||||
0x0a, 0x03, 0x03, 0x02, 0x01,
|
0x0a, 0x03, 0x03, 0x02, 0x01,
|
||||||
},
|
},
|
||||||
@@ -243,10 +239,6 @@ var decodePayloadTests = []decodePayloadTest{
|
|||||||
{
|
{
|
||||||
name: "intermediate hop with blinding point",
|
name: "intermediate hop with blinding point",
|
||||||
payload: append([]byte{
|
payload: append([]byte{
|
||||||
// amount
|
|
||||||
0x02, 0x00,
|
|
||||||
// cltv
|
|
||||||
0x04, 0x00,
|
|
||||||
// encrypted data
|
// encrypted data
|
||||||
0x0a, 0x03, 0x03, 0x02, 0x01,
|
0x0a, 0x03, 0x03, 0x02, 0x01,
|
||||||
// blinding point (type / length)
|
// blinding point (type / length)
|
||||||
|
Reference in New Issue
Block a user