From bb886ced673e28f818a5b8454ded1973bce3df88 Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Wed, 18 Mar 2015 11:19:35 -0700 Subject: [PATCH] [DOC] gateway guide - fix wrong operator for reading account flags --- content/gateway_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/gateway_guide.md b/content/gateway_guide.md index 8d1b67fc4e..ab970259fa 100644 --- a/content/gateway_guide.md +++ b/content/gateway_guide.md @@ -350,7 +350,7 @@ Response: } ``` -To confirm that an account has DefaultRipple enabled, look up the account using the [account_info command](rippled-apis.html#account-info), specifying a validated ledger version. Use [the xor operator](https://en.wikipedia.org/wiki/Exclusive_or) to compare the `Flags` field with 0x00800000 (the [ledger flag lsfDefaultRipple](https://wiki.ripple.com/Ledger_Format#AccountRoot)). If the result of the xor operation is nonzero, then the account has DefaultRipple enabled. +To confirm that an account has DefaultRipple enabled, look up the account using the [account_info command](rippled-apis.html#account-info), specifying a validated ledger version. Use [a bitwise-AND operator](https://en.wikipedia.org/wiki/Bitwise_operation#AND) to compare the `Flags` field with 0x00800000 (the [ledger flag lsfDefaultRipple](https://wiki.ripple.com/Ledger_Format#AccountRoot)). If the result of the bitwise-AND operation is nonzero, then the account has DefaultRipple enabled. ## Generating Souce and Destination Tags ##