Commit 494bcee
fix(request): reassign sequential orders when all signers share same signingOrder
The API returns signingOrder: 1 as the default for every signer.
When the user enables "Sign in order", onPreserveOrderChange() checked
Because git log -p === false, every signer was skipped and all remained at
order 1, causing the backend to notify all signers simultaneously
instead of sequentially.
Fix: detect duplicate orders with a Set comparison and force
re-assignment when duplicates are found.
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent e312959 commit 494bcee
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
| 747 | + | |
| 748 | + | |
747 | 749 | | |
748 | | - | |
| 750 | + | |
749 | 751 | | |
750 | 752 | | |
751 | 753 | | |
| |||
0 commit comments