From b868a1fc0243e4a89667edc6bbd3ea3b3dc0a918 Mon Sep 17 00:00:00 2001 From: Tushar Pardhe Date: Wed, 1 Feb 2023 10:18:33 +0000 Subject: [PATCH] Added sequence number logging --- content/_code-samples/escrow/js/create-escrow.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/_code-samples/escrow/js/create-escrow.js b/content/_code-samples/escrow/js/create-escrow.js index 8892983e47..d27e8b94eb 100644 --- a/content/_code-samples/escrow/js/create-escrow.js +++ b/content/_code-samples/escrow/js/create-escrow.js @@ -54,8 +54,9 @@ const main = async () => { xrpl.validate(escrowCreateTransaction); // Sign and submit the transaction -------------------------------------------- - console.log('Signing and submitting the transaction:', JSON.stringify(escrowCreateTransaction, null, "\t")); + console.log('Signing and submitting the transaction:', JSON.stringify(escrowCreateTransaction, null, "\t"), "\n"); const response = await client.submitAndWait(escrowCreateTransaction, { wallet }); + console.log(`Sequence number: ${response.result.Sequence}`); console.log(`Finished submitting! ${JSON.stringify(response.result, null, "\t")}`); await client.disconnect();