Skip to content

Commit

Permalink
Amend
Browse files Browse the repository at this point in the history
  • Loading branch information
raphjaph committed Dec 26, 2024
1 parent 6da327c commit cbf49af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/templates/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ mod tests {
TransactionHtml {
chain: Chain::Mainnet,
etching: None,
runestone: None,
inscription_count: 0,
txid: transaction.compute_txid(),
transaction,
Expand Down
2 changes: 2 additions & 0 deletions templates/transaction.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ <h2>Inscription Geneses</h2>
<dt>etching</dt>
<dd><a href=/rune/{{ rune }}>{{ rune }}</a></dd>
%% }
%% if let Some(runestone) = &self.runestone {
%% }
</dl>
<h2>{{"Input".tally(self.transaction.input.len())}}</h2>
<ul>
Expand Down
1 change: 1 addition & 0 deletions tests/json_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ fn get_transaction() {
serde_json::from_str::<api::Transaction>(&response.text().unwrap()).unwrap(),
api::Transaction {
chain: Chain::Mainnet,
runestone: None,
etching: None,
inscription_count: 0,
transaction,
Expand Down

0 comments on commit cbf49af

Please sign in to comment.