framer: fix typo.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
This commit is contained in:
parent
e04931026c
commit
6d9c150134
@ -260,12 +260,12 @@ Framer.block = function _block(block, type) {
|
|||||||
off += writeU32(p, constants.version, off);
|
off += writeU32(p, constants.version, off);
|
||||||
|
|
||||||
// prev_block
|
// prev_block
|
||||||
util.toArray(block.prevBlock, 'hex').forEach(function(ch) {
|
utils.toArray(block.prevBlock, 'hex').forEach(function(ch) {
|
||||||
p[off++] = ch;
|
p[off++] = ch;
|
||||||
});
|
});
|
||||||
|
|
||||||
// merkle_root
|
// merkle_root
|
||||||
util.toArray(block.merkleRoot, 'hex').forEach(function(ch) {
|
utils.toArray(block.merkleRoot, 'hex').forEach(function(ch) {
|
||||||
p[off++] = ch;
|
p[off++] = ch;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user