소스 검색

fix readRaw errors not throwing

master
nitowa 2 년 전
부모
커밋
ad9fd09f91
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 1
    1
      package.json
  2. 3
    3
      src/xrpIO/ripple-binding.ts

+ 1
- 1
package.json 파일 보기

@@ -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 파일 보기

@@ -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…
취소
저장