File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -351,9 +351,9 @@ export class Listener implements IListener {
351351 return this . messageSubject . asObservable ( ) . pipe (
352352 filter ( ( _ ) => _ . channelName === ListenerChannelName . status ) ,
353353 filter ( ( _ ) => _ . message instanceof TransactionStatusError ) ,
354+ filter ( ( _ ) => _ . channelParam . toUpperCase ( ) === address . plain ( ) ) ,
354355 map ( ( _ ) => _ . message as TransactionStatusError ) ,
355356 filter ( ( _ ) => ! transactionHash || _ . hash . toUpperCase ( ) == transactionHash . toUpperCase ( ) ) ,
356- filter ( ( _ ) => address . equals ( _ . address ) ) ,
357357 ) ;
358358 }
359359
@@ -417,6 +417,7 @@ export class Listener implements IListener {
417417 return this . messageSubject . asObservable ( ) . pipe (
418418 filter ( ( _ ) => _ . channelName . toUpperCase ( ) === ListenerChannelName . cosignature . toUpperCase ( ) ) ,
419419 filter ( ( _ ) => _ . message instanceof CosignatureSignedTransaction ) ,
420+ filter ( ( _ ) => _ . channelParam . toUpperCase ( ) === address . plain ( ) ) ,
420421 map ( ( _ ) => _ . message as CosignatureSignedTransaction ) ,
421422 ) ;
422423 }
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ describe('Listener', () => {
115115 }
116116
117117 const statusInfoErrorDTO = {
118- topic : ' status' ,
118+ topic : ` status/ ${ errorAddress . plain ( ) } ` ,
119119 data : {
120120 address : errorEncodedAddress ,
121121 deadline : '1010' ,
@@ -159,7 +159,7 @@ describe('Listener', () => {
159159 }
160160
161161 const statusInfoErrorDTO = {
162- topic : ' status' ,
162+ topic : ` status/ ${ errorAddress . plain ( ) } ` ,
163163 data : {
164164 address : errorEncodedAddress ,
165165 deadline : '1010' ,
You can’t perform that action at this time.
0 commit comments