File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -401,7 +401,8 @@ func TestOnionMessageRouteBlinding(t *testing.T) {
401401 // peelOnion is a helper closure that can be used to set up a Router
402402 // and use it to process the given onion packet.
403403 peelOnion := func (key * btcec.PrivateKey ,
404- blindingPoint * btcec.PublicKey ) * ProcessedPacket {
404+ blindingPoint * btcec.PublicKey ,
405+ onionPacket * OnionPacket ) * ProcessedPacket {
405406
406407 r := NewRouter (& PrivKeyECDH {PrivKey : key }, NewMemoryReplayLog ())
407408
@@ -469,7 +470,9 @@ func TestOnionMessageRouteBlinding(t *testing.T) {
469470 // functional option WithBlindingPoint) and we expect that the
470471 // onion message packet for this hop is processed without error,
471472 // otherwise peelOnion fails the test.
472- processedPkt := peelOnion (priv , blindingPoint )
473+ processedPkt := peelOnion (
474+ priv , blindingPoint , currentOnionPacket ,
475+ )
473476
474477 // We derive the next blinding point from the current blinding
475478 // point and the private key of the current hop. The new
You can’t perform that action at this time.
0 commit comments