Skip to content

Commit

Permalink
fix: emitter only support 32 raw bytes privkey
Browse files Browse the repository at this point in the history
  • Loading branch information
liyukun committed Dec 21, 2023
1 parent 7b9c275 commit c7683da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/ibc-test/src/framework/utils/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ pub fn prepare_cell_emitter(axon_port: u16, ckb_port: u16) -> Result<Child, Erro
.join(format!("emitter-privkey-{listen_port}"));
std::fs::File::create(&private_path)
.map_err(|err| eyre!("failed to create emitter private file: {err}"))?
.write("37aa0f893d05914a4def0460c0a984d3611546cfb26924d7a7ca6e0db9950a2d".as_bytes())
.write(
&hex::decode("37aa0f893d05914a4def0460c0a984d3611546cfb26924d7a7ca6e0db9950a2d")
.unwrap(),
)
.unwrap();
let store_path = std::env::current_dir()
.unwrap()
Expand Down

0 comments on commit c7683da

Please sign in to comment.