|
|
@ -4,8 +4,8 @@ import PropTypes from 'prop-types' |
|
|
|
import { btc } from '../../../../../../../utils' |
|
|
|
import styles from './ClosedPendingChannel.scss' |
|
|
|
|
|
|
|
const ClosedPendingChannel = ({ ticker, channel: { channel, closing_txid }, currentTicker }) => ( |
|
|
|
<li className={styles.channel} onClick={() => shell.openExternal(`https://testnet.smartbit.com.au/tx/${closing_txid}`)}> |
|
|
|
const ClosedPendingChannel = ({ ticker, channel: { channel, closing_txid }, currentTicker, explorerLinkBase }) => ( |
|
|
|
<li className={styles.channel} onClick={() => shell.openExternal(`${explorerLinkBase}/tx/${closing_txid}`)}> |
|
|
|
<h1 className={styles.closing}>Status: Closing</h1> |
|
|
|
<div className={styles.left}> |
|
|
|
<section className={styles.remotePubkey}> |
|
|
@ -60,7 +60,8 @@ const ClosedPendingChannel = ({ ticker, channel: { channel, closing_txid }, curr |
|
|
|
ClosedPendingChannel.propTypes = { |
|
|
|
ticker: PropTypes.object.isRequired, |
|
|
|
channel: PropTypes.object.isRequired, |
|
|
|
currentTicker: PropTypes.object.isRequired |
|
|
|
currentTicker: PropTypes.object.isRequired, |
|
|
|
explorerLinkBase: PropTypes.string.isRequired |
|
|
|
} |
|
|
|
|
|
|
|
export default ClosedPendingChannel |
|
|
|