diff --git a/routing/router_test.go b/routing/router_test.go index 42020b7e..d8550ac7 100644 --- a/routing/router_test.go +++ b/routing/router_test.go @@ -3025,8 +3025,6 @@ func TestRouterPaymentStateMachine(t *testing.T) { PaymentHash: payHash, } - copy(preImage[:], bytes.Repeat([]byte{9}, 32)) - router.cfg.SessionSource = &mockPaymentSessionSource{ routes: test.routes, }