1
0
Fork 0
forked from lthn/blockchain

fixed compilation issue

This commit is contained in:
cryptozoidberg 2020-01-28 00:49:12 +01:00
parent 4729cffbae
commit 98f2d5e155
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -47,7 +47,7 @@ namespace plain_wallet
LOG_ERROR("Internall error: attempt to delete wallet with wrong instance id: " << h);
}
instance_ptr = it->second;
ginstances.erase(instance_ptr);
ginstances.erase(it);
CRITICAL_REGION_END();
delete instance_ptr;
}