fix readRaw errors not throwing
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xrpio",
|
||||
"version": "0.0.8",
|
||||
"version": "0.0.9",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://gitea.nitowa.xyz/npm-packages/xrpio.git"
|
||||
|
||||
@@ -154,11 +154,11 @@ export const readRaw = async (api: RippleAPI, hash: string): Promise<Memo> => {
|
||||
minLedgerVersion: 25235454
|
||||
})
|
||||
}catch(e){
|
||||
if(debug){
|
||||
// if(debug){
|
||||
console.log("READRAW ERR", e)
|
||||
// }
|
||||
throw e
|
||||
}
|
||||
}
|
||||
|
||||
if (!tx || !tx.specification || !tx.specification['memos'] || !tx.specification['memos'][0]) {
|
||||
console.log(tx)
|
||||
|
||||
Reference in New Issue
Block a user