htlcswitch/test: do not set amount and cltv for blinded test cases

This commit is contained in:
Carla Kirk-Cohen
2023-11-06 14:01:28 -05:00
parent a75bc13230
commit 2f8587341a

View File

@@ -231,10 +231,6 @@ var decodePayloadTests = []decodePayloadTest{
{
name: "intermediate hop with encrypted data",
payload: []byte{
// amount
0x02, 0x00,
// cltv
0x04, 0x00,
// encrypted data
0x0a, 0x03, 0x03, 0x02, 0x01,
},
@@ -243,10 +239,6 @@ var decodePayloadTests = []decodePayloadTest{
{
name: "intermediate hop with blinding point",
payload: append([]byte{
// amount
0x02, 0x00,
// cltv
0x04, 0x00,
// encrypted data
0x0a, 0x03, 0x03, 0x02, 0x01,
// blinding point (type / length)