Skip to content

Commit 3fad506

Browse files
committed
sphinx_test: fix typos in replay test names
Rename TestSphinxNodeRelpay* to TestSphinxNodeReplay*.
1 parent 01e46ad commit 3fad506

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sphinx_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ func TestSphinxSingleHop(t *testing.T) {
634634
}
635635
}
636636

637-
func TestSphinxNodeRelpay(t *testing.T) {
637+
func TestSphinxNodeReplay(t *testing.T) {
638638
// We'd like to ensure that the sphinx node itself rejects all replayed
639639
// packets which share the same shared secret.
640640
nodes, _, _, fwdMsg, err := newTestRoute(testLegacyRouteNumHops)
@@ -662,7 +662,7 @@ func TestSphinxNodeRelpay(t *testing.T) {
662662
}
663663
}
664664

665-
func TestSphinxNodeRelpaySameBatch(t *testing.T) {
665+
func TestSphinxNodeReplaySameBatch(t *testing.T) {
666666
// We'd like to ensure that the sphinx node itself rejects all replayed
667667
// packets which share the same shared secret.
668668
nodes, _, _, fwdMsg, err := newTestRoute(testLegacyRouteNumHops)
@@ -708,7 +708,7 @@ func TestSphinxNodeRelpaySameBatch(t *testing.T) {
708708
}
709709
}
710710

711-
func TestSphinxNodeRelpayLaterBatch(t *testing.T) {
711+
func TestSphinxNodeReplayLaterBatch(t *testing.T) {
712712
// We'd like to ensure that the sphinx node itself rejects all replayed
713713
// packets which share the same shared secret.
714714
nodes, _, _, fwdMsg, err := newTestRoute(testLegacyRouteNumHops)

0 commit comments

Comments
 (0)