lint.
This commit is contained in:
parent
0eb29e50b5
commit
279df328d1
@ -778,7 +778,7 @@ ChainDB.prototype.getUndoView = co(function* getUndoView(block) {
|
||||
|
||||
ChainDB.prototype.getBlock = co(function* getBlock(hash) {
|
||||
var item = yield this.getBoth(hash);
|
||||
var height, data, block;
|
||||
var data, block;
|
||||
|
||||
if (!item.hash)
|
||||
return;
|
||||
|
||||
@ -693,12 +693,12 @@ Account.prototype.getAddressType = function getAddressType(path) {
|
||||
return Script.types.SCRIPTHASH;
|
||||
|
||||
if (this.witness) {
|
||||
if (this.type === Acount.types.MULTISIG)
|
||||
if (this.type === Account.types.MULTISIG)
|
||||
return Script.types.WITNESSSCRIPTHASH;
|
||||
return Script.types.WITNESSPUBKEYHASH;
|
||||
}
|
||||
|
||||
if (this.type === Acount.types.MULTISIG)
|
||||
if (this.type === Account.types.MULTISIG)
|
||||
return Script.types.SCRIPTHASH;
|
||||
|
||||
return Script.types.PUBKEYHASH;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user