Add ledger version range checking to Connection class

This commit is contained in:
Chris Clark
2015-10-22 14:20:00 -07:00
parent cd17d6940f
commit 3de0030d07
2 changed files with 34 additions and 25 deletions

View File

@@ -46,6 +46,8 @@ function main() {
console.log(ledger);
connection.getLedgerVersion().then(console.log);
});
connection.hasLedgerVersions(1, 100).then(console.log);
connection.hasLedgerVersions(16631039, 16631040).then(console.log);
});
}