Skip to content

Commit b26dc95

Browse files
committed
Initialize sequence number in BatchResult - issue XRPLF#39
1 parent 1fdb3f7 commit b26dc95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/rocksdb/transaction_log.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class LogFile {
5656
};
5757

5858
struct BatchResult {
59-
SequenceNumber sequence = SequenceNumber();
59+
SequenceNumber sequence = 0;
6060
std::unique_ptr<WriteBatch> writeBatchPtr;
6161
};
6262

0 commit comments

Comments
 (0)