Skip to content

Commit 0e8fa0d

Browse files
committed
fix(raiden): log new address correctly
1 parent e52e376 commit 0e8fa0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/raidenclient/RaidenClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ class RaidenClient extends SwapClient {
125125
/** The new raiden address value if different from the one we had previously. */
126126
let newAddress: string | undefined;
127127
if (this.address !== address) {
128-
this.logger.debug(`address is ${newAddress}`);
129128
newAddress = address;
130129
this.address = newAddress;
130+
this.logger.debug(`address is ${newAddress}`);
131131
}
132132

133133
this.emit('connectionVerified', { newIdentifier: newAddress });

0 commit comments

Comments
 (0)