Add check for if submitblock was successful and refined the data emitted by onShare