fix: remove legacy code

This commit is contained in:
Tyera Eulberg
2020-01-08 13:59:58 -07:00
committed by Michael Vines
parent aea0e83a40
commit 4a547b0057
6 changed files with 189 additions and 237 deletions

View File

@@ -217,7 +217,8 @@ export class Transaction {
allKeys.sort(function(x, y) {
const checkSigner = x.isSigner === y.isSigner ? 0 : x.isSigner ? -1 : 1;
const checkWritable = x.isWritable === y.isWritable ? 0 : x.isWritable ? -1 : 1;
const checkWritable =
x.isWritable === y.isWritable ? 0 : x.isWritable ? -1 : 1;
return checkSigner || checkWritable;
});