Skip to content

Commit

Permalink
Link to blockstream.info for txids etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
petertodd committed Mar 6, 2021
1 parent c1fc552 commit ac67218
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions otsserver/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ def do_GET(self):
<p>
Pending commitments: {{ pending_commitments }}</br>
Transactions waiting for confirmation: {{ txs_waiting_for_confirmation }}</br>
Most recent unconfirmed timestamp tx: {{ most_recent_tx }} ({{ prior_versions }} prior versions)</br>
Most recent unconfirmed timestamp tx: <a href="https://blockstream.info/tx/{{ most_recent_tx }}">{{ most_recent_tx }}</a> ({{ prior_versions }} prior versions)</br>

This comment has been minimized.

Copy link
@RCasatta

RCasatta Apr 26, 2021

Member

Should check != None

Most recent merkle tree tip: {{ tip }}</br>
Best-block: {{ best_block }}, height {{ block_height }}</br>
Best-block: <a href="https://blockstream.info/block/{{ best_block }}">{{ best_block }}</a>, height {{ block_height }}</br>
</br>
Wallet balance: {{ balance }} BTC</br>
</p>
Expand Down Expand Up @@ -270,7 +270,7 @@ def do_GET(self):
</br>
<tt>
{{#transactions}}
{{txid}} ({{confirmations}})</br>
<a href="https://blockstream.info/tx/{{txid}}">{{txid}}</a> ({{confirmations}})</br>
{{/transactions}}
</tt>
</p>
Expand Down

0 comments on commit ac67218

Please sign in to comment.