code-review

This commit is contained in:
Dmitry Zuikov 2023-03-20 07:04:02 +03:00 committed by Vladimir Krutkin
parent c710dab928
commit d094e046a5
2 changed files with 12 additions and 0 deletions

View File

@ -48,6 +48,13 @@ fixme-value-set cat bug feat refactor
] ]
[ fixme-report review json
(render builtin:microstache report-wip.tpl)
(post builtin:columns | 10 10 8 12 _)
(query tag:REVIEW:)
]
[ fixme-report review json [ fixme-report review json
(render builtin:microstache report-wip.tpl) (render builtin:microstache report-wip.tpl)
(post builtin:columns | 10 10 8 12 _) (post builtin:columns | 10 10 8 12 _)

View File

@ -441,6 +441,11 @@ runPeer opts = Exception.handle myException $ do
] :: Set (PubKey 'Sign UDP) ] :: Set (PubKey 'Sign UDP)
let blkeys = toKeys bls let blkeys = toKeys bls
let wlkeys = toKeys whs let wlkeys = toKeys whs
-- REVIEW: no-time-to-die
просто удаляй пира из вайтлиста,
если он в блэклисте
unless (Set.disjoint blkeys wlkeys) do unless (Set.disjoint blkeys wlkeys) do
die "whitelist and blacklist intersect" die "whitelist and blacklist intersect"