Fix method of emitting unconfirmedTxs to UI

feature/default_network_editable
Dan Finlay 9 years ago
parent a441e635bd
commit dc043b7f9b
  1. 1
      app/scripts/background.js
  2. 1
      app/scripts/lib/idStore.js

@ -117,7 +117,6 @@ function storeSetFromObj(store, obj){
Object.keys(obj).forEach(function(key){ Object.keys(obj).forEach(function(key){
store.set(key, obj[key]) store.set(key, obj[key])
}) })
store.set('unconfTxs', configManager.unconfirmedTxs())
} }

@ -82,6 +82,7 @@ IdentityStore.prototype.getState = function(){
isInitialized: !!configManager.getWallet() && !seedWords, isInitialized: !!configManager.getWallet() && !seedWords,
isUnlocked: this._isUnlocked(), isUnlocked: this._isUnlocked(),
seedWords: seedWords, seedWords: seedWords,
unconfTxs: configManager.unconfirmedTxs(),
})) }))
} }

Loading…
Cancel
Save