Report which account is in use (#3539)

This commit is contained in:
Jack May 2019-03-28 08:17:49 -07:00 committed by GitHub
parent 4bca60861e
commit 92e1c4c531
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -861,6 +861,7 @@ impl Accounts {
for k in keys { for k in keys {
if locks.contains(k) { if locks.contains(k) {
error_counters.account_in_use += 1; error_counters.account_in_use += 1;
error!("Account in use: {:?}", k);
return Err(TransactionError::AccountInUse); return Err(TransactionError::AccountInUse);
} }
} }