wallet: keep batch action order when sorting with same covenant types
Co-authored-by: Rithvik Vibhu <rithvikvibhu@gmail.com>
This commit is contained in:
parent
134613b51d
commit
5cf5b0cb53
1 changed files with 3 additions and 0 deletions
|
|
@ -3890,6 +3890,9 @@ class Wallet extends EventEmitter {
|
|||
assert(a.length);
|
||||
assert(b.length);
|
||||
|
||||
if (a[0] === b[0])
|
||||
return 0;
|
||||
|
||||
switch (b[0]) {
|
||||
case 'REVEAL':
|
||||
case 'REDEEM':
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue