Temporarily fix check-global-freeze until beta updated

This commit is contained in:
Jackson Mills
2021-10-18 14:34:00 -07:00
parent 4db02120b2
commit 4530ccb5c9

View File

@@ -21,10 +21,11 @@ if (typeof module !== "undefined") {
const response = await client.request(
{command: 'account_info', account: my_address })
const settings = response.result
const lsfGlobalFreeze = 0x00400000
console.log('Got settings for address', my_address);
console.log('Global Freeze enabled?',
(settings.globalFreeze === true))
(settings.Flags & lsfGlobalFreeze === lsfGlobalFreeze))
await client.disconnect()