Skip to content

Commit

Permalink
Link to ordinal from rune (ordinals#643)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Oct 12, 2022
1 parent bbc0bd0 commit 4d94b1b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/subcommand/server/templates/rune.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ mod tests {
<dt>hash</dt><dd>0000000000000000000000000000000000000000000000000000000000000000</dd>
<dt>name</dt><dd>foo</dd>
<dt>chain</dt><dd>mainnet</dd>
<dt>ordinal</dt><dd>0</dd>
<dt>ordinal</dt><dd><a href=/ordinal/0>0</a></dd>
</dl>
"
.unindent()
Expand Down
2 changes: 1 addition & 1 deletion templates/rune.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ <h1>Rune {{self.hash}}</h1>
<dt>hash</dt><dd>{{self.hash}}</dd>
<dt>name</dt><dd>{{self.rune.name}}</dd>
<dt>chain</dt><dd>{{self.rune.chain}}</dd>
<dt>ordinal</dt><dd>{{self.rune.ordinal}}</dd>
<dt>ordinal</dt><dd><a href=/ordinal/{{self.rune.ordinal}}>{{self.rune.ordinal}}</a></dd>
</dl>
2 changes: 1 addition & 1 deletion tests/rune.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn publish_success() {
<dt>hash</dt><dd>8ca6ee12cb891766de56e5698a73cd6546f27a88bd27c8b8d914bc4162f9e4b5</dd>
<dt>name</dt><dd>foo</dd>
<dt>chain</dt><dd>regtest</dd>
<dt>ordinal</dt><dd>0</dd>
<dt>ordinal</dt><dd><a href=/ordinal/0>0</a></dd>
</dl>
.*",
);
Expand Down

0 comments on commit 4d94b1b

Please sign in to comment.