We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca979f9 commit 5df06c3Copy full SHA for 5df06c3
1 file changed
src/utils/issueRedeem.ts
@@ -69,7 +69,7 @@ export function getRequestIdsFromEvents(
69
eventToFind: AugmentedEvent<ApiTypes, AnyTuple>,
70
api: ApiPromise
71
): Hash[] {
72
- const ids = new Array<Hash>();
+ const ids: Hash[] = [];
73
for (const { event } of events) {
74
if (eventToFind.is(event)) {
75
// the redeem id has type H256 and is the first item of the event data array
0 commit comments