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);
|
||||
},
|
||||
err => {
|
||||
resolve(err);
|
||||
reject(err);
|
||||
}
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue