mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 04:05:52 +00:00
Add ledger version range checking to Connection class
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user