Port PR93 from @denioD
This commit is contained in:
@@ -309,7 +309,7 @@ double benchmark_increment_note_witnesses(size_t nTxs)
|
||||
index1.SetHeight(1);
|
||||
|
||||
// Increment to get transactions witnessed
|
||||
wallet.ChainTip(&index1, &block1, sproutTree, saplingTree, true);
|
||||
wallet.ChainTip(&index1, &block1, std::make_pair(sproutTree, saplingTree));
|
||||
|
||||
// Second block
|
||||
CBlock block2;
|
||||
@@ -333,7 +333,7 @@ double benchmark_increment_note_witnesses(size_t nTxs)
|
||||
|
||||
struct timeval tv_start;
|
||||
timer_start(tv_start);
|
||||
wallet.ChainTip(&index2, &block2, sproutTree, saplingTree, true);
|
||||
wallet.ChainTip(&index2, &block2, std::make_pair(sproutTree, saplingTree));
|
||||
return timer_stop(tv_start);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user