Skip to content

Commit

Permalink
removed async shit
Browse files Browse the repository at this point in the history
  • Loading branch information
Gigabyte0x1337 committed Oct 21, 2017
1 parent ae12317 commit 88e9e01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const crypto = require('crypto');
const PreciseTimer = require('precise-timer');
const sqlite = require('sqlite');

async function start() {
function start() {
const blockChain = new BlockChain(486604799, 1);
const genisisBlock = blockChain.createBlock([
{ test: "halods" },
Expand All @@ -26,7 +26,7 @@ async function start() {

mine(block);
}
async function mine(block) {
function mine(block) {
let hashTime = 0;
let iterations = 0;
while (true) {
Expand Down

0 comments on commit 88e9e01

Please sign in to comment.