fix missed blockHash->block_hash change in onionrstorage

master
Kevin Froman 2020-08-17 19:02:51 -05:00
parent 6f242298fe
commit fb4dd07ba4
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ def set_data(data) -> str:
onionrstorage.getData(dataHash)
except onionrexceptions.NoDataAvailable:
if storage_counter.add_bytes(dataSize) is not False:
onionrstorage.store(data, blockHash=dataHash)
onionrstorage.store(data, block_hash=dataHash)
conn = sqlite3.connect(
dbfiles.block_meta_db, timeout=DATABASE_LOCK_TIMEOUT)
c = conn.cursor()