Update contract.sol

This commit is contained in:
Maxim Evtush 2025-04-28 08:25:49 +02:00 committed by GitHub
parent f750117ad1
commit b2fbc132d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ contract DB {
if (v == 0) { if (v == 0) {
return _keys.length; return _keys.length;
} }
// Check if a key is being overriden // Check if a key is being overridden
if (_store[k] == 0) { if (_store[k] == 0) {
_keys.push(k); _keys.push(k);
_stats.inserts++; _stats.inserts++;
@ -63,4 +63,4 @@ contract DB {
fallback(bytes calldata _input) external returns (bytes memory _output) { fallback(bytes calldata _input) external returns (bytes memory _output) {
_output = _input; _output = _input;
} }
} }