Skip to content

Commit 98f9409

Browse files
authoredApr 13, 2024··
Update txdb-leveldb.h
1 parent 3076558 commit 98f9409

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/txdb-leveldb.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class CTxDB
8484
if (status.IsNotFound())
8585
return false;
8686
// Some unexpected error.
87-
printf("LevelDB read failure: %s\n", status.ToString());
87+
LogPrintf("LevelDB read failure: %s\n", status.ToString());
8888
return false;
8989
}
9090
}
@@ -119,7 +119,7 @@ class CTxDB
119119
}
120120
leveldb::Status status = pdb->Put(leveldb::WriteOptions(), ssKey.str(), ssValue.str());
121121
if (!status.ok()) {
122-
printf("LevelDB write failure: %s\n", status.ToString());
122+
LogPrintf("LevelDB write failure: %s\n", status.ToString());
123123
return false;
124124
}
125125
return true;

0 commit comments

Comments
 (0)
Please sign in to comment.