Is there a reason why this `fromHex` call is done inside a `then` handler as opposed to before this promise change starts?