ソースを参照

fix readRaw errors not throwing

master
nitowa 3年前
コミット
ad9fd09f91
2個のファイルの変更4行の追加4行の削除
  1. 1
    1
      package.json
  2. 3
    3
      src/xrpIO/ripple-binding.ts

+ 1
- 1
package.json ファイルの表示

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

+ 3
- 3
src/xrpIO/ripple-binding.ts ファイルの表示

154
       minLedgerVersion: 25235454
154
       minLedgerVersion: 25235454
155
     })
155
     })
156
   }catch(e){
156
   }catch(e){
157
-    if(debug){
157
+//    if(debug){
158
       console.log("READRAW ERR", e)
158
       console.log("READRAW ERR", e)
159
-      throw e
160
-    }
159
+//    }
160
+    throw e
161
   }
161
   }
162
 
162
 
163
   if (!tx || !tx.specification || !tx.specification['memos'] || !tx.specification['memos'][0]) {
163
   if (!tx || !tx.specification || !tx.specification['memos'] || !tx.specification['memos'][0]) {

読み込み中…
キャンセル
保存