diff --git a/src/templates/inscription.rs b/src/templates/inscription.rs
index a81431d48c..2ff9812ab2 100644
--- a/src/templates/inscription.rs
+++ b/src/templates/inscription.rs
@@ -103,7 +103,7 @@ mod tests {
.*
- address
- - bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4
+ - bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4
- value
- 1
.*
diff --git a/templates/inscription.html b/templates/inscription.html
index fd044035e2..ecc083215f 100644
--- a/templates/inscription.html
+++ b/templates/inscription.html
@@ -64,7 +64,7 @@ Inscription {{ self.number }}
%% if let Some(output) = &self.output {
%% if let Ok(address) = self.chain.address_from_script(&output.script_pubkey ) {
- address
- - {{ address }}
+ - {{ address }}
%% }
- value
- {{ output.value }}
diff --git a/tests/server.rs b/tests/server.rs
index 8ed91b3056..768dd4023f 100644
--- a/tests/server.rs
+++ b/tests/server.rs
@@ -89,7 +89,7 @@ fn inscription_page() {
- id
- {inscription}
- address
- - bc1.*
+ - bc1.*
- value
- 10000
- preview
@@ -219,7 +219,7 @@ fn inscription_page_after_send() {
ord.assert_response_regex(
format!("/inscription/{inscription}"),
format!(
- r".*Inscription 0
.*- address
\s*- bc1qcqgs2pps4u4yedfyl5pysdjjncs8et5utseepv
.*- location
\s*- {txid}:0:0
.*",
+ r".*Inscription 0
.*- address
\s*- bc1qcqgs2pps4u4yedfyl5pysdjjncs8et5utseepv
.*- location
\s*- {txid}:0:0
.*",
),
)
}
diff --git a/tests/wallet/batch_command.rs b/tests/wallet/batch_command.rs
index 3a91f9b423..dfebb41f44 100644
--- a/tests/wallet/batch_command.rs
+++ b/tests/wallet/batch_command.rs
@@ -576,7 +576,7 @@ inscriptions:
format!("/inscription/{}", output.inscriptions[0].id),
".*
- address
- - bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4
.*",
+ - bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4
.*",
);
ord.assert_response_regex(
@@ -584,7 +584,7 @@ inscriptions:
format!(
".*
- address
- - {}
.*",
+ - {0}
.*",
core.state().change_addresses[0],
),
);
@@ -593,7 +593,7 @@ inscriptions:
format!("/inscription/{}", output.inscriptions[2].id),
".*
- address
- - bc1pxwww0ct9ue7e8tdnlmug5m2tamfn7q06sahstg39ys4c9f3340qqxrdu9k
.*",
+ - bc1pxwww0ct9ue7e8tdnlmug5m2tamfn7q06sahstg39ys4c9f3340qqxrdu9k
.*",
);
}
diff --git a/tests/wallet/send.rs b/tests/wallet/send.rs
index 6779da1ec9..dbfae3bdfb 100644
--- a/tests/wallet/send.rs
+++ b/tests/wallet/send.rs
@@ -155,7 +155,7 @@ fn send_inscription_by_sat() {
ord.assert_response_regex(
format!("/inscription/{inscription}"),
format!(
- ".*Inscription 0
.*- address
.*- {address}
.*- location
.*- {send_txid}:0:0
.*",
+ ".*Inscription 0
.*- address
.*- {address}
.*- location
.*- {send_txid}:0:0
.*",
),
);
}