Skip to content

Commit 2accdef

Browse files
committed
fixup! sphinx_test: onion message packet creation
1 parent f86dc89 commit 2accdef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinx_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ func TestTLVPayloadMessagePacket(t *testing.T) {
372372
pubKey, err := btcec.ParsePubKey(pubKeyBytes)
373373
require.NoError(t, err)
374374

375-
EncryptedRecipientData, err := hex.DecodeString(
375+
encryptedRecipientData, err := hex.DecodeString(
376376
hop.EncryptedRecipientData,
377377
)
378378
require.NoError(t, err)
@@ -388,7 +388,7 @@ func TestTLVPayloadMessagePacket(t *testing.T) {
388388
}
389389

390390
records = append(records, tlv.MakePrimitiveRecord(
391-
4, &EncryptedRecipientData,
391+
4, &encryptedRecipientData,
392392
))
393393

394394
stream, err := tlv.NewStream(records...)

0 commit comments

Comments
 (0)