Skip to content

Commit 2eae99d

Browse files
committed
Add line break in council signed message
1 parent 0557f73 commit 2eae99d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/phactory/src/prpc_service.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2045,7 +2045,7 @@ impl<Platform: pal::Platform + Serialize + DeserializeOwned> PhactoryApi for Rpc
20452045
let genesis_hash = hex::encode(runtime_state.genesis_block_hash);
20462046
let mr_to = hex::encode(&request.measurement);
20472047
let mr_from = hex::encode(my_measurement()?);
2048-
let signed_message = format!("Allow pRuntime to handover from 0x{mr_from} to 0x{mr_to} on chain of genesis 0x{genesis_hash}").into_bytes();
2048+
let signed_message = format!("Allow pRuntime to handover\n from: 0x{mr_from}\n to: 0x{mr_to}\n genesis: 0x{genesis_hash}").into_bytes();
20492049
debug!("Signed message: {:?}", hex::encode(&signed_message));
20502050
let mut signers = std::collections::BTreeSet::new();
20512051
for sig in &request.signatures {

0 commit comments

Comments
 (0)