@@ -30,12 +30,11 @@ async function verifyCredential(client, issuer, subject, credentialType, binary=
30
30
* as of the most recently validated ledger.
31
31
* Parameters:
32
32
* client - Client for interacting with rippled servers.
33
- * issuer - Address of the credential issuer, in base58
34
- * subject - Address of the credential holder/subject, in base58
33
+ * issuer - Address of the credential issuer, in base58.
34
+ * subject - Address of the credential holder/subject, in base58.
35
35
* credentialType - Credential type to check for as a string,
36
36
* which will be encoded as UTF-8 (1-128 bytes long).
37
37
* binary - Specifies that the credential type is provided in hexadecimal format.
38
- * verbose - If true, print details to stdout during lookup.
39
38
* You must provide the credential_type as input.
40
39
* Returns True if the account holds the specified, valid credential.
41
40
* Returns False if the credential is missing, expired, or not accepted.
@@ -81,7 +80,7 @@ async function verifyCredential(client, issuer, subject, credentialType, binary=
81
80
logger . info ( "Credential was not found" ) ;
82
81
return false ;
83
82
} else {
84
- //Other errors, for example invalidly-specified addresses.
83
+ // Other errors, for example invalidly pecified addresses.
85
84
throw new XRPLLookupError ( xrplResponse ) ;
86
85
}
87
86
}
@@ -129,7 +128,7 @@ async function verifyCredential(client, issuer, subject, credentialType, binary=
129
128
130
129
// Commandline usage -----------------------------------------------------------
131
130
async function main ( ) {
132
- // JSON-RPC URLs of public servers
131
+ // Websocket URLs of public servers
133
132
const NETWORKS = {
134
133
devnet : "wss://s.devnet.rippletest.net:51233" ,
135
134
testnet : "wss://s.altnet.rippletest.net:51233" ,
0 commit comments