From 71338201bc024c06aa76ed8d72c5f013d478b093 Mon Sep 17 00:00:00 2001 From: Dowland Aiello Date: Sat, 17 Aug 2024 00:54:44 +0000 Subject: [PATCH] built_address: Move a comment. --- src/utils/test_context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/test_context.rs b/src/utils/test_context.rs index db70d3d..797e37b 100644 --- a/src/utils/test_context.rs +++ b/src/utils/test_context.rs @@ -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,