mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 20:25:51 +00:00
Update with SME review comments
This commit is contained in:
@@ -4,7 +4,7 @@ import dotenv from "dotenv";
|
||||
import inquirer from "inquirer";
|
||||
import { Client, Wallet } from "xrpl";
|
||||
import { lookUpCredentials } from "./look_up_credentials.js";
|
||||
import { decodeHex } from "./decode_hex.js";
|
||||
import { hexToString } from "@xrplf/isomorphic/dist/utils/index.js";
|
||||
|
||||
const XRPL_SERVER = "wss://s.devnet.rippletest.net:51233"
|
||||
|
||||
@@ -41,7 +41,7 @@ async function main() {
|
||||
);
|
||||
|
||||
const choices = pendingCredentials.map((cred, i) => ({
|
||||
name: `${i+1}) '${decodeHex(cred.CredentialType)}' issued by ${cred.Issuer}`,
|
||||
name: `${i+1}) '${hexToString(cred.CredentialType)}' issued by ${cred.Issuer}`,
|
||||
value: i,
|
||||
}));
|
||||
choices.unshift({ name: "0) No, quit.", value: -1 });
|
||||
|
||||
Reference in New Issue
Block a user