WA-521 Fix transactionHashSelector pull info from 'execution' type
This commit is contained in:
parent
2e3f7781c6
commit
fb0f9160c6
|
@ -22,9 +22,9 @@ const transactionHashSector = (state: GlobalState, props: TxProps) => {
|
|||
}
|
||||
|
||||
const confirmations = props.transaction.get('confirmations')
|
||||
const executedConf = confirmations.find((conf: Confirmation) => conf.get('type') === 'executed')
|
||||
const executedConf = confirmations.find((conf: Confirmation) => conf.get('type') === 'execution')
|
||||
|
||||
return executedConf.get('hash')
|
||||
return executedConf ? executedConf.get('hash') : undefined
|
||||
}
|
||||
|
||||
export default createStructuredSelector({
|
||||
|
|
Loading…
Reference in New Issue