def recov.pick
import cswap-bend-cli@0.1.0.0/policy/bar.bend as Barimport Base
75def recov.pick(+isf: Bool, +h: Maybe<&2, Nat>, +ah: Maybe<&2, Nat>, +lh: Maybe<&2, Nat>, +lr: Maybe<&2, Nat>, +peer: Maybe<&2, Nat>, +act: Maybe<&2, Nat>, +thr: Nat, +now: Nat) -> Bool:
76 match isf:
77 case True{}:
78 recov.fail(h, peer, act, thr, now)
79 case False{}:
80 recov.ord(h, ah, lh, lr, peer, thr)