We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
hex::encode
state_root
adapter.sign()
1 parent 5772bd0 commit ee95a1eCopy full SHA for ee95a1e
validator_worker/src/leader.rs
@@ -25,7 +25,7 @@ fn on_new_accounting<A: Adapter + 'static>(
25
let state_root_raw = get_state_root_hash(&iface, &balances)?;
26
let state_root = hex::encode(state_root_raw);
27
28
- let signature = iface.adapter.sign(&hex::encode(&state_root))?;
+ let signature = iface.adapter.sign(&state_root)?;
29
30
iface.propagate(&[&MessageTypes::NewState(NewState {
31
state_root,
0 commit comments