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

This commit is contained in:
Carla Kirk-Cohen committed 2023-12-18 11:27:50 -05:00
1 parent a75bc13230
commit 2f8587341a
1 file changed
-8
-8
View File
@@ -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)