WA-521 Fix transactionHashSelector pull info from 'execution' type

This commit is contained in:
apanizo 2018-08-17 11:40:34 +02:00
parent 2e3f7781c6
commit fb0f9160c6
1 changed files with 2 additions and 2 deletions

View File

@ -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({