We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61dfc39 commit b7438e2Copy full SHA for b7438e2
1 file changed
include/bitcoin/database/tables/caches/prevout.hpp
@@ -145,7 +145,7 @@ struct prevout
145
std::for_each(cons.begin(), cons.end(), write_con);
146
std::for_each(std::next(txs.begin()), txs.end(), write_tx);
147
148
- BC_ASSERT(!sink || (sink.get_write_position() == count() * minrow));
+ BC_ASSERT(!sink || (sink.get_write_position() == count()));
149
return sink;
150
}
151
@@ -180,7 +180,7 @@ struct prevout
180
value.second = source.read_little_endian<uint32_t>();
181
});
182
183
- BC_ASSERT(!source || source.get_read_position() == count() * minrow);
+ BC_ASSERT(!source || source.get_read_position() == count());
184
return source;
185
186
0 commit comments