Fix promise reject when creating a channel

This commit is contained in:
6ea86b96 2017-07-11 13:01:44 +07:00
parent 76fe44e519
commit 443caa2740

View file

@ -380,7 +380,7 @@ export function doCreateChannel(name, amount) {
resolve(channelClaim);
},
err => {
resolve(err);
reject(err);
}
);
});