Skip to content

Commit

Permalink
built_address: Move a comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
dowlandaiello committed Aug 17, 2024
1 parent 57b2ee5 commit 7133820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/test_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -663,12 +663,12 @@ impl<'a> TestContextQuery<'a> {
.chains
.get(self.src_chain.as_deref().unwrap_or(NEUTRON_CHAIN_NAME))?;

// text field contains built address
let mut resp = chain.rb.bin(
&format!("q wasm build-address {code_id_hash} {creator_address} {salt}"),
true,
);

// text field contains built address
match resp["text"].take() {
Value::String(s) => Some(s.replace("\n", "")),
_ => None,
Expand Down

0 comments on commit 7133820

Please sign in to comment.