refactor: SpanReader without nVersion

The field is unused, so remove it.

This is also required for future commits.
This commit is contained in:
MarcoFalke committed 2023-11-28 12:42:07 +01:00
1 parent c252a0fc0f
commit fac39b56b7
9 files changed
+25 -34

No files matched your search

+1 -1
View File
@@ -759,7 +759,7 @@ BOOST_FIXTURE_TEST_CASE(wallet_descriptor_test, BasicTestingSetup)
vw << int32_t{0};
vw << int32_t{1};
SpanReader vr{0, malformed_record};
SpanReader vr{malformed_record};
WalletDescriptor w_desc;
BOOST_CHECK_EXCEPTION(vr >> w_desc, std::ios_base::failure, malformed_descriptor);
}