verifyRegistryRootInState
@totemsdk/omnia / verifyRegistryRootInState
Function: verifyRegistryRootInState()
verifyRegistryRootInState(
state,expectedRoot):object
Verify that a signed channel state announces the expected registry root. Returns the failure reason when the root is missing or mismatched.
Parameters
state
expectedRoot
string
Returns
object
error?
optionalerror?:string
valid
valid:
boolean