1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

Add to CHANGELOG

This commit is contained in:
Frankie 2017-01-11 12:23:00 -08:00
parent 0b59dafc34
commit bbd2f2738b
2 changed files with 9 additions and 2 deletions

View File

@ -2,6 +2,7 @@
## Current Master
- Create visible difference in transaction history between a approved but not yet included in a block transaction and a transaction who has been confirmed.
- Fix memory leak in RPC Cache
- Override RPC commands eth_syncing and web3_clientVersion
- Remove certain non-essential permissions from certain builds.

View File

@ -262,12 +262,18 @@ module.exports = class TransactionManager extends EventEmitter {
var txHash = tx.hash
var txId = tx.id
if (!txHash) {
tx.err = { errCode: 'No hash was provided', message: 'Tx could possibly have not been submitted or an error accrued during signing'}
tx.err = {
errCode: 'No hash was provided',
message: 'Tx could possibly have not been submitted or an error accrued during signing',
}
return this.updateTx(tx)
}
this.txProviderUtils.query.getTransactionByHash(txHash, (err, txMeta) => {
if (err) {
tx.err = {errorCode: err, message: 'Tx could possibly have not been submitted to the block chain',}
tx.err = {
errorCode: err,
message: 'Tx could possibly have not been submitted to the block chain',
}
this.updateTx(tx)
return console.error(err)
}