Skip to content

Commit e4234d1

Browse files
committed
Added #352 aggregate bonded announcing
1 parent e295b5a commit e4234d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/infrastructure/Listener.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ export class Listener {
249249
filter((_) => _.message instanceof Transaction),
250250
map((_) => _.message as Transaction),
251251
filter((_) => this.transactionFromAddress(_, address)),
252-
filter((_) => _.transactionInfo!.hash === transactionHash || transactionHash === undefined),
252+
filter((_) => transactionHash === undefined || _.transactionInfo!.hash === transactionHash),
253253
);
254254
}
255255

@@ -302,7 +302,7 @@ export class Listener {
302302
filter((_) => _.message instanceof AggregateTransaction),
303303
map((_) => _.message as AggregateTransaction),
304304
filter((_) => this.transactionFromAddress(_, address)),
305-
filter((_) => _.transactionInfo!.hash === transactionHash || transactionHash === undefined),
305+
filter((_) => transactionHash === undefined || _.transactionInfo!.hash === transactionHash),
306306
);
307307
}
308308

0 commit comments

Comments
 (0)