We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 640c422 commit 6bd2308Copy full SHA for 6bd2308
1 file changed
src/components/core/utils/nonceHandler.ts
@@ -55,6 +55,7 @@ export async function getNonce(
55
db: AbstractNonceDatabase,
56
address: string
57
): Promise<P2PCommandResponse> {
58
+ DATABASE_LOGGER.logMessage('Retrieving nonce for address: ' + address, true)
59
// get nonce from db
60
try {
61
const nonceResponse = await db.retrieve(address)
@@ -92,6 +93,8 @@ async function updateNonce(
92
93
nonce: number
94
): Promise<NonceResponse> {
95
96
+ DATABASE_LOGGER.logMessage('Upting nonce for address: ' + address, true)
97
+
98
// update nonce on db
99
// it will create if none exists yet
100
const resp = await db.update(address, nonce)
0 commit comments