Fix promise reject when creating a channel
This commit is contained in:
parent
76fe44e519
commit
443caa2740
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ export function doCreateChannel(name, amount) {
|
||||||
resolve(channelClaim);
|
resolve(channelClaim);
|
||||||
},
|
},
|
||||||
err => {
|
err => {
|
||||||
resolve(err);
|
reject(err);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue