Skip to content

Commit

Permalink
fix(fix-routing-info): initial commit (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
PurpShell authored Jun 2, 2024
1 parent 3e8f271 commit d7037cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Socket/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ export const makeSocket = (config: SocketConfig) => {
const routingInfo = getBinaryNodeChild(edgeRoutingNode, 'routing_info')
if(routingInfo?.content) {
authState.creds.routingInfo = Buffer.from(routingInfo?.content as Uint8Array)
ev.emit('creds.update', authState.creds)
}
})

Expand Down

0 comments on commit d7037cf

Please sign in to comment.