up
This commit is contained in:
parent
f2b18239a8
commit
5b6ed3569d
1 changed files with 0 additions and 4 deletions
|
|
@ -379,12 +379,8 @@ export default class {
|
||||||
console.log("message", message)
|
console.log("message", message)
|
||||||
switch (message.update.oneofKind) {
|
switch (message.update.oneofKind) {
|
||||||
case 'chanPending':
|
case 'chanPending':
|
||||||
abortController.abort()
|
|
||||||
res(Buffer.from(message.pendingChanId).toString('base64'))
|
res(Buffer.from(message.pendingChanId).toString('base64'))
|
||||||
break
|
break
|
||||||
default:
|
|
||||||
abortController.abort()
|
|
||||||
rej("unexpected state response: " + message.update.oneofKind)
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
stream.responses.onError(error => {
|
stream.responses.onError(error => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue