소스 검색

inavlid tx log output

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

+ 2
- 1
src/index.ts 파일 보기

@@ -1,4 +1,5 @@
1 1
 export * from './xrpIO/ripple-binding'
2 2
 export * from './util/types'
3 3
 export * from './util/protocol.constants'
4
-export * from 'ripple-lib'
4
+export * from 'ripple-lib'
5
+export { RippleAPI } from 'ripple-lib'

+ 1
- 0
src/xrpIO/ripple-binding.ts 파일 보기

@@ -162,6 +162,7 @@ export const readRaw = async (api: RippleAPI, hash: string): Promise<Memo> => {
162 162
   }
163 163
 
164 164
   if (!tx || !tx.specification || !tx.specification['memos'] || !tx.specification['memos'][0]) {
165
+    console.log(tx)
165 166
     throw new Error('Invalid Transaction ' + hash)
166 167
   }
167 168
   return tx.specification['memos'][0]

Loading…
취소
저장