From ad9fd09f9147f83857f7767f13c3e56faa791c31 Mon Sep 17 00:00:00 2001 From: nitowa Date: Sat, 12 Feb 2022 22:22:17 +0100 Subject: [PATCH] fix readRaw errors not throwing --- package.json | 2 +- src/xrpIO/ripple-binding.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 74010ea..06a1180 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xrpio", - "version": "0.0.8", + "version": "0.0.9", "repository": { "type": "git", "url": "https://gitea.nitowa.xyz/npm-packages/xrpio.git" diff --git a/src/xrpIO/ripple-binding.ts b/src/xrpIO/ripple-binding.ts index ce63498..3c73132 100644 --- a/src/xrpIO/ripple-binding.ts +++ b/src/xrpIO/ripple-binding.ts @@ -154,10 +154,10 @@ export const readRaw = async (api: RippleAPI, hash: string): Promise => { minLedgerVersion: 25235454 }) }catch(e){ - if(debug){ +// if(debug){ console.log("READRAW ERR", e) - throw e - } +// } + throw e } if (!tx || !tx.specification || !tx.specification['memos'] || !tx.specification['memos'][0]) {