You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
short_channel_id:0, fee_msat:0, cltv_expiry_delta:0, maybe_announced_channel:true,// We fill in the payloads manually instead of generating them from RouteHops.
short_channel_id:1, fee_msat:0, cltv_expiry_delta:0, maybe_announced_channel:true,// We fill in the payloads manually instead of generating them from RouteHops.
short_channel_id:2, fee_msat:0, cltv_expiry_delta:0, maybe_announced_channel:true,// We fill in the payloads manually instead of generating them from RouteHops.
short_channel_id:3, fee_msat:0, cltv_expiry_delta:0, maybe_announced_channel:true,// We fill in the payloads manually instead of generating them from RouteHops.
short_channel_id:4, fee_msat:0, cltv_expiry_delta:0, maybe_announced_channel:true,// We fill in the payloads manually instead of generating them from RouteHops.
1818
+
},
1819
+
],blinded_tail:None}
1820
+
}
1821
+
1788
1822
fnbuild_test_onion_keys() -> Vec<OnionKeys>{
1789
1823
// Keys from BOLT 4, used in both test vector tests
short_channel_id:0, fee_msat:0, cltv_expiry_delta:0, maybe_announced_channel:true,// We fill in the payloads manually instead of generating them from RouteHops.
short_channel_id:0, fee_msat:0, cltv_expiry_delta:0, maybe_announced_channel:true,// We fill in the payloads manually instead of generating them from RouteHops.
short_channel_id:0, fee_msat:0, cltv_expiry_delta:0, maybe_announced_channel:true,// We fill in the payloads manually instead of generating them from RouteHops.
short_channel_id:0, fee_msat:0, cltv_expiry_delta:0, maybe_announced_channel:true,// We fill in the payloads manually instead of generating them from RouteHops.
short_channel_id:0, fee_msat:0, cltv_expiry_delta:0, maybe_announced_channel:true,// We fill in the payloads manually instead of generating them from RouteHops.
1818
-
},
1819
-
], blinded_tail:None}],
1828
+
paths:vec![path],
1820
1829
route_params:None,
1821
1830
};
1822
1831
@@ -2078,6 +2087,21 @@ mod tests {
2078
2087
);
2079
2088
let hex = "9c5add3963fc7f6ed7f148623c84134b5647e1306419dbe2174e523fa9e2fbed3a06a19f899145610741c83ad40b7712aefaddec8c6baf7325d92ea4ca4d1df8bce517f7e54554608bf2bd8071a4f52a7a2f7ffbb1413edad81eeea5785aa9d990f2865dc23b4bc3c301a94eec4eabebca66be5cf638f693ec256aec514620cc28ee4a94bd9565bc4d4962b9d3641d4278fb319ed2b84de5b665f307a2db0f7fbb757366067d88c50f7e829138fde4f78d39b5b5802f1b92a8a820865af5cc79f9f30bc3f461c66af95d13e5e1f0381c184572a91dee1c849048a647a1158cf884064deddbf1b0b88dfe2f791428d0ba0f6fb2f04e14081f69165ae66d9297c118f0907705c9c4954a199bae0bb96fad763d690e7daa6cfda59ba7f2c8d11448b604d12d";
0 commit comments