Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Commit

Permalink
merge origin
Browse files Browse the repository at this point in the history
  • Loading branch information
frozeman committed Jan 8, 2016
2 parents a808047 + b10b371 commit b2be459
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@ Template['popupWindows_sendTransactionConfirmation'].onCreated(function(){

// set the gas to the estimation, if not provided or lower
var gas = TemplateVar.get(template, 'providedGas');
if(gas < res) {
TemplateVar.set(template, 'providedGas', res + 10000);
TemplateVar.set(template, 'initialProvidedGas', res + 10000);

if(gas == 0) {
TemplateVar.set(template, 'providedGas', res + 100000);
TemplateVar.set(template, 'initialProvidedGas', res + 100000);
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var ipcPath = getIpcPath();


global.production = false;
global.mode = 'mist';
global.mode = 'wallet';

global.mainWindow = null;
global.windows = {};
Expand Down

0 comments on commit b2be459

Please sign in to comment.