catch node spawning errors
- return
{ error }
for errors,{ node }
for success - abstract some logic to util functions
BREAKING CHANGE
This is a breaking change, and must be merged and released when the respective PR of the zen wallet is merged as well.
Edited by Adam Goldman