mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Use better name for local variable to prevent -Wshadow compiler warning
This commit is contained in:
parent
71bc39eb74
commit
bf49f107ef
1 changed files with 2 additions and 2 deletions
|
|
@ -46,8 +46,8 @@ static void DeserializeAndCheckBlockTest(benchmark::State& state)
|
||||||
stream >> block;
|
stream >> block;
|
||||||
assert(stream.Rewind(sizeof(block_bench::block413567)));
|
assert(stream.Rewind(sizeof(block_bench::block413567)));
|
||||||
|
|
||||||
CValidationState state;
|
CValidationState validationState;
|
||||||
assert(CheckBlock(block, state, params));
|
assert(CheckBlock(block, validationState, params));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue