Skip to content

Commit

Permalink
Fixed not refreshing the order book after selecting cross-chain
Browse files Browse the repository at this point in the history
  • Loading branch information
jjos2372 committed Jan 5, 2020
1 parent 75e586b commit befe9ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/btdex/core/ContractState.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ public static BurstID addContracts(HashMap<BurstAddress, ContractState> map, Bur
BurstAddress[] atIDs = g.getNS().getAtIds().blockingGet();

BurstID first = null;
BurstID idLimit = BurstID.fromLong("9601465021860021685");
// FIXME: add a mainnet limit
BurstID idLimit = BurstID.fromLong(g.isTestnet() ?
"9601465021860021685" : "17916279999448178140");

// reverse order to get the more recent ones first
for (int i = atIDs.length-1; i >= 0; i--) {
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/btdex/ui/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@ public void run() {
}
getContentPane().setVisible(true);
}

System.err.println("Update thread finished!");
}
};

Expand Down

0 comments on commit befe9ab

Please sign in to comment.