Skip to content

Commit 1a8f57d

Browse files
authored
1166 get transaction data (#1167)
* roundRobinGetTransaction bug fix * Changeset version file
1 parent 59601c8 commit 1a8f57d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/twenty-toys-smoke.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@xchainjs/xchain-cosmos-sdk': patch
3+
---
4+
5+
Get transaction data bug fix

packages/xchain-cosmos-sdk/src/client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ export default abstract class Client extends BaseXChainClient implements XChainC
406406
try {
407407
const tx = await client.getTx(txId)
408408
if (!tx) throw Error(`Can not find transaction ${txId}`)
409+
return tx
409410
} catch {}
410411
}
411412

0 commit comments

Comments
 (0)