Skip to content

Commit 32127d6

Browse files
authored
Merge pull request #446 from ainblockchain/release/v0.7.7
Merge Release/v0.7.7 into master
2 parents 8a85c7f + 7855091 commit 32127d6

36 files changed

+2169
-637
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# XXX: Project Related
2-
chains
2+
ain_blockchain_data
33
logs
44
log1.txt
55
log2.txt

blockchain/block-file-util.js

Lines changed: 0 additions & 109 deletions
This file was deleted.

blockchain/block.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const stringify = require('fast-json-stable-stringify');
22
const sizeof = require('object-sizeof');
33
const moment = require('moment');
4+
const _ = require('lodash');
45
const logger = require('../logger')('BLOCK');
56
const ChainUtil = require('../common/chain-util');
67
const Transaction = require('../tx-pool/transaction');
@@ -259,7 +260,6 @@ class Block {
259260
}
260261

261262
static buildGenesisStakingTxs(timestamp) {
262-
const _ = require('lodash');
263263
const txs = [];
264264
Object.entries(GENESIS_VALIDATORS).forEach(([address, amount], index) => {
265265
const privateKey = _.get(GenesisAccounts,

0 commit comments

Comments
 (0)