Skip to content

Commit

Permalink
v0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
vuapo-eth committed Nov 9, 2017
1 parent d293e80 commit e8b4902
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion js/ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ var onSignin = function(result) {
var timestamp = Math.round((new Date()).getTime() / 1000);
setTimeout(signin, (sessionTime-timestamp)*0.4*1000);
} else {
alert("[ERROR] Sign in failed: '" + result.error + "'.");
if(result.feedback) {
alert("[ERROR] Sign in failed: '" + result.error + "'.");
} else {
eventEmitter.emitEvent('state', ['<span class="warning">Sign in failed: ' + result.error + '. Try again in 10s.</span>']);
setTimeout(signin, 10000);
}
}
}

Expand Down
4 changes: 2 additions & 2 deletions js/spammer.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ var httpsProviders = null;
var validProviders = null;
var currentProvider = null;

var spamSeed = "ERROR9999999999999COULD9NOT9CONNECT9TO9IOTA9SPAM9FUND9WEBSITE9TO9RECEIVE9ADDRESS9";//generateSeed()
var spamSeed = "ERROR9999999999999COULD9NOT9CONNECT9TO9IOTA9SPAM9FUND9WEBSITE9TO9RECEIVE9ADDRESS9";
var message = "999";

var weight = 14;
var tag = "99999IOTASPAMFUND";
var tag = "IOTASPAMFUND";

var iotaTransactionSpammer = (function(){
const iotaLib = window.IOTA
Expand Down

0 comments on commit e8b4902

Please sign in to comment.