From 73e61b964f5eeb7b99ddfb93e51d24fdd5b4c3dd Mon Sep 17 00:00:00 2001 From: sibelly Date: Tue, 9 May 2023 19:33:20 -0400 Subject: [PATCH] fixes wrong statement print, changes to console.log one --- content/_code-samples/send-a-memo/js/send-a-memo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/_code-samples/send-a-memo/js/send-a-memo.js b/content/_code-samples/send-a-memo/js/send-a-memo.js index 597287e32a..4f0a477f73 100644 --- a/content/_code-samples/send-a-memo/js/send-a-memo.js +++ b/content/_code-samples/send-a-memo/js/send-a-memo.js @@ -42,7 +42,7 @@ if (typeof module !== "undefined") { }) const signed = wallet.sign(prepared) - print("Submitting a payment transaction with our memo field...") + console.log("Submitting a payment transaction with our memo field...") const submit_result = await client.submitAndWait(signed.tx_blob) xrpl.convertHexToString const tx_MemoData = xrpl.convertHexToString(string=submit_result.result.Memos[0].Memo.MemoData);