Skip to content

Commit 363f58e

Browse files
committed
Log when applying manual override
1 parent 3903ffa commit 363f58e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

appstate/decode.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,9 +498,11 @@ func (proc *Processor) validatePatch(
498498
if vm != nil || err != nil || !allowEvilLIDHack {
499499
return vm, err
500500
}
501-
if version == 150 && bytes.Equal(indexMAC, exerrors.Must(hex.DecodeString("a9f10469e5862e0fb7ae1d0d4276e01ee233e29f36d311e4b6e95c6a7827e38b"))) {
501+
/*if version == 150 && bytes.Equal(indexMAC, exerrors.Must(hex.DecodeString("a9f10469e5862e0fb7ae1d0d4276e01ee233e29f36d311e4b6e95c6a7827e38b"))) {
502+
zerolog.Ctx(ctx).Debug().Msg("DEBUG: applying hack")
502503
return hex.DecodeString("c7d81bdec860404e60f3355304e8114973079146cf845842fe990fce2733d619")
503-
} else if version == 150 && bytes.Equal(indexMAC, exerrors.Must(hex.DecodeString("9384a89d86d59e9623c4c34b55dd6b0db4e0a2d7568ac55b3e1a0cec6bfc6ea5"))) {
504+
} else */if version == 150 && bytes.Equal(indexMAC, exerrors.Must(hex.DecodeString("9384a89d86d59e9623c4c34b55dd6b0db4e0a2d7568ac55b3e1a0cec6bfc6ea5"))) {
505+
zerolog.Ctx(ctx).Debug().Msg("DEBUG: applying hack")
504506
return hex.DecodeString("2d2e64fc70aa6b05d7dab825d6b869e5fbbf843332bfcc94ebb4c25a9d3dcd49")
505507
}
506508
vm, newIndexMAC, err := proc.evilHackForLIDMutation(

0 commit comments

Comments
 (0)