Report which account is in use (#3539)
This commit is contained in:
parent
4bca60861e
commit
92e1c4c531
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue