Skip to content

Commit

Permalink
manual fixes on bitcoin#9868
Browse files Browse the repository at this point in the history
  • Loading branch information
PastaPastaPasta committed Jan 23, 2019
1 parent 3ddf3dc commit f9c5857
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/miner.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ class BlockAssembler
public:
struct Options {
Options();
size_t nBlockMaxWeight;
size_t nBlockMaxSize;
CFeeRate blockMinFeeRate;
};
Expand Down
3 changes: 1 addition & 2 deletions src/test/miner_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ static CFeeRate blockMinFeeRate = CFeeRate(DEFAULT_BLOCK_MIN_TX_FEE);
static BlockAssembler AssemblerForTest(const CChainParams& params) {
BlockAssembler::Options options;

options.nBlockMaxWeight = MAX_BLOCK_WEIGHT;
options.nBlockMaxSize = MAX_BLOCK_SERIALIZED_SIZE;
options.nBlockMaxSize = DEFAULT_BLOCK_MAX_SIZE;
options.blockMinFeeRate = blockMinFeeRate;
return BlockAssembler(params, options);
}
Expand Down

0 comments on commit f9c5857

Please sign in to comment.