block: minor.
This commit is contained in:
parent
a11a1ab4ad
commit
7ef658049c
@ -562,7 +562,7 @@ Block.prototype.format = function format(view, height) {
|
|||||||
nonce: this.nonce,
|
nonce: this.nonce,
|
||||||
txs: this.txs.map((tx, i) => {
|
txs: this.txs.map((tx, i) => {
|
||||||
return tx.format(view, null, i);
|
return tx.format(view, null, i);
|
||||||
}, this)
|
})
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -600,7 +600,7 @@ Block.prototype.getJSON = function getJSON(network, view, height) {
|
|||||||
nonce: this.nonce,
|
nonce: this.nonce,
|
||||||
txs: this.txs.map((tx, i) => {
|
txs: this.txs.map((tx, i) => {
|
||||||
return tx.getJSON(network, view, null, i);
|
return tx.getJSON(network, view, null, i);
|
||||||
}, this)
|
})
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user