implement merge sort to imporve perf of some utils
This commit is contained in:
parent
0651c19ca6
commit
0ab1a0a440
2 changed files with 98 additions and 25 deletions
|
|
@ -169,7 +169,7 @@ proposalValidator proposal =
|
|||
newSigs <- plet $ pfield @"newCosigners" # r
|
||||
|
||||
passert "Cosigners are unique" $
|
||||
pisUniq # newSigs
|
||||
pisUniq # phoistAcyclic (plam $ \(pfromData -> x) (pfromData -> y) -> x #< y) # newSigs
|
||||
|
||||
passert "Signed by all new cosigners" $
|
||||
pall # signedBy # newSigs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue