build: fix darwin build

This commit is contained in:
Braydon Fuller
2016-04-12 23:25:55 -04:00
committed by Braydon Fuller
parent 94ea69a4d5
commit 04da9306c6
2 changed files with 2 additions and 2 deletions

View File

@@ -271,7 +271,7 @@ bool CBlockTreeDB::ReadAddressIndex(uint160 addressHash, int type,
bool CBlockTreeDB::WriteTimestampIndex(const CTimestampIndexKey &timestampIndex) {
CDBBatch batch(&GetObfuscateKey());
batch.Write(make_pair(DB_TIMESTAMPINDEX, timestampIndex), NULL);
batch.Write(make_pair(DB_TIMESTAMPINDEX, timestampIndex), 0);
return WriteBatch(batch);
}