From 85a602ecf22f134bfd9724175bc5c25d451468f0 Mon Sep 17 00:00:00 2001 From: ddawson Date: Tue, 30 Aug 2022 11:05:36 -0700 Subject: [PATCH] Use flag name vs number --- content/tutorials/quickstart/authorize-minter.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/tutorials/quickstart/authorize-minter.md b/content/tutorials/quickstart/authorize-minter.md index e362cca2a7..2180d3acbf 100644 --- a/content/tutorials/quickstart/authorize-minter.md +++ b/content/tutorials/quickstart/authorize-minter.md @@ -24,7 +24,7 @@ This example shows how to: You can download the [Quickstart Samples](https://github.com/XRPLF/xrpl-dev-portal/tree/master/content/_code-samples/quickstart/js/quickstart.zip) archive to try the sample in your own browser. -## Authorize a Minter +## Get Accounts 1. Open `6.authorized-minter.html` in a browser. 2. Get test accounts. @@ -132,10 +132,10 @@ Set `NFTokenMinter` to the account number of the authorized minter. "NFTokenMinter": standbyMinterField.value, ``` -Set flag 10, which is `asfAuthorizedNFTokenMinter`. +Set the `asfAuthorizedNFTokenMinter` flag (the numeric value is _10_). ```javascript - "SetFlag": 10 + "SetFlag": xrpl.AccountSetAsfFlags.asfAuthorizedNFTokenMinter } ``` @@ -295,7 +295,7 @@ async function oPsetMinter(type) { "TransactionType": "AccountSet", "Account": my_wallet.address, "NFTokenMinter": operationalMinterField.value, - "SetFlag": 10 + "SetFlag": xrpl.AccountSetAsfFlags.asfAuthorizedNFTokenMinter } results += '\n Set Minter.' document.getElementById('operationalResultField').value = results