fix missed blockHash->block_hash change in onionrstorage
This commit is contained in:
parent
6f242298fe
commit
fb4dd07ba4
@ -50,7 +50,7 @@ def set_data(data) -> str:
|
|||||||
onionrstorage.getData(dataHash)
|
onionrstorage.getData(dataHash)
|
||||||
except onionrexceptions.NoDataAvailable:
|
except onionrexceptions.NoDataAvailable:
|
||||||
if storage_counter.add_bytes(dataSize) is not False:
|
if storage_counter.add_bytes(dataSize) is not False:
|
||||||
onionrstorage.store(data, blockHash=dataHash)
|
onionrstorage.store(data, block_hash=dataHash)
|
||||||
conn = sqlite3.connect(
|
conn = sqlite3.connect(
|
||||||
dbfiles.block_meta_db, timeout=DATABASE_LOCK_TIMEOUT)
|
dbfiles.block_meta_db, timeout=DATABASE_LOCK_TIMEOUT)
|
||||||
c = conn.cursor()
|
c = conn.cursor()
|
||||||
|
Loading…
Reference in New Issue
Block a user