Skip to content

Commit

Permalink
Update to HexPrivateAndAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
bkolad committed Sep 1, 2023
1 parent 0f7620c commit 69a489c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/demo-rollup/src/rollup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pub async fn new_rollup_with_celestia_da(
pub fn read_tx_signer_priv_key() -> Result<DefaultPrivateKey, anyhow::Error> {
let data = std::fs::read_to_string(TX_SIGNER_PRIV_KEY_PATH).context("Unable to read file")?;

let hex_key: crate::HexKey =
let hex_key: crate::HexPrivateAndAddress =
serde_json::from_str(&data).context("JSON does not have correct format.")?;

let priv_key = sov_modules_api::default_signature::private_key::DefaultPrivateKey::from_hex(
Expand Down

0 comments on commit 69a489c

Please sign in to comment.