farcaster-project/farcaster-node

Bob never gives up even if punished for realz

Lederstrumpf opened this issue · 0 comments

Bob currently plays ostrich and doesn't acknowledge being punished - he keeps watching for his refund to finalize (hoping to win the race) and continues running if not.
As pointed out by @h4sh3d, we should handle this exactly 1:1 with other finalization thresholds - there should be no difference in handling whether we like the outcome or not.
As such, once punish is final, Bob should transition to SwapEnd(Outcome::FailurePunish).