Skip to content

Commit dbf9290

Browse files
committed
Applied upper case comparision on aggregateBondedAdded
1 parent 893dc03 commit dbf9290

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/infrastructure/Listener.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,13 @@ export class Listener implements IListener {
291291
filter((_) => _.message instanceof AggregateTransaction),
292292
map((_) => _.message as AggregateTransaction),
293293
filter((_) => this.transactionFromAddress(_, address)),
294-
filter((_) => transactionHash === undefined || _.transactionInfo!.hash === transactionHash),
294+
filter((_) => {
295+
if (transactionHash === undefined) {
296+
return true;
297+
} else {
298+
const metaHash = _.transactionInfo!.hash;
299+
return metaHash !== undefined ? metaHash.toUpperCase() === transactionHash.toUpperCase() : false;
300+
}}),
295301
);
296302
}
297303

0 commit comments

Comments
 (0)