Browse Source

fix readRaw errors not throwing

master
nitowa 2 years ago
parent
commit
ad9fd09f91
2 changed files with 4 additions and 4 deletions
  1. 1
    1
      package.json
  2. 3
    3
      src/xrpIO/ripple-binding.ts

+ 1
- 1
package.json View File

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "xrpio",
3
-  "version": "0.0.8",
3
+  "version": "0.0.9",
4 4
   "repository": {
5 5
     "type": "git",
6 6
     "url": "https://gitea.nitowa.xyz/npm-packages/xrpio.git"

+ 3
- 3
src/xrpIO/ripple-binding.ts View File

@@ -154,10 +154,10 @@ export const readRaw = async (api: RippleAPI, hash: string): Promise<Memo> => {
154 154
       minLedgerVersion: 25235454
155 155
     })
156 156
   }catch(e){
157
-    if(debug){
157
+//    if(debug){
158 158
       console.log("READRAW ERR", e)
159
-      throw e
160
-    }
159
+//    }
160
+    throw e
161 161
   }
162 162
 
163 163
   if (!tx || !tx.specification || !tx.specification['memos'] || !tx.specification['memos'][0]) {

Loading…
Cancel
Save