Skip to content

Commit

Permalink
Fixed typo: parent -> parent_block.
Browse files Browse the repository at this point in the history
  • Loading branch information
sumlnoether committed Apr 1, 2018
1 parent aa24f92 commit 8456837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ NAN_METHOD(convert_blob) {
return THROW_ERROR_EXCEPTION("Failed to construct parent block");

// Set the blocks to the right major and minor versions.
parent.major_version = b.major_version;
parent.minor_version = b.minor_version;
parent_block.major_version = b.major_version;
parent_block.minor_version = b.minor_version;
if (!get_block_hashing_blob(parent_block, output))
return THROW_ERROR_EXCEPTION("Failed to create mining block");
}
Expand Down

0 comments on commit 8456837

Please sign in to comment.