Link TXID to block explorer

This commit is contained in:
nicocappabianca
2020-09-26 11:33:30 -03:00
parent 62fce12f54
commit d7d1c84774
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ class Configure extends React.Component {
walletInfo={_this.props.walletInfo}
setBchWallet={_this.props.setBchWallet}
/>
<JsonWebTokens
setWalletInfo={_this.props.setWalletInfo}
walletInfo={_this.props.walletInfo}
@@ -85,7 +85,13 @@ class Send extends React.Component {
<p className='error-color'>{_this.state.errMsg}</p>
)}
{_this.state.txId && (
<p className=''>Transaction ID: {_this.state.txId}</p>
<a
target='_blank'
rel="noopener noreferrer"
href={`https://explorer.bitcoin.com/bch/tx/${_this.state.txId}`}
>
Transaction ID: {_this.state.txId}
</a>
)}
</Col>
</Row>