merkle-trie / net.consensys.cava.trie.experimental / StoredMerklePatriciaTrie / remove

remove

suspend fun remove(key: Bytes): Unit (source)

Overrides MerkleTrie.remove

Deletes the value that corresponds to the specified key, if such a value exists.

Parameters

key - The key of the value to be deleted.

Exceptions

MerkleStorageException - If there is an error while writing to storage.