inavlid tx log output
This commit is contained in:
@@ -162,6 +162,7 @@ export const readRaw = async (api: RippleAPI, hash: string): Promise<Memo> => {
|
||||
}
|
||||
|
||||
if (!tx || !tx.specification || !tx.specification['memos'] || !tx.specification['memos'][0]) {
|
||||
console.log(tx)
|
||||
throw new Error('Invalid Transaction ' + hash)
|
||||
}
|
||||
return tx.specification['memos'][0]
|
||||
|
||||
Reference in New Issue
Block a user