keppel / lotion

✨ Smooth, easy blockchain apps ✨
https://lotionjs.com
974 stars 133 forks source link

when lotion.start() execute, occur exception #162

Closed pjt3591oo closed 5 years ago

pjt3591oo commented 5 years ago

https://github.com/keppel/lotion/blob/develop/src/tendermint.ts#L122

why is this line need?

when lotion.start() execute, occur exception

keppel commented 5 years ago

Hey @pjt3591oo!

The tendermintProcess promise only resolves if the Tendermint process exits, which we don't really expect to happen during a Lotion app's lifetime unless something goes wrong, so it's an error.