multi_put claim_short_id
This commit is contained in:
parent
09e1aba567
commit
911f483ce3
1 changed files with 8 additions and 5 deletions
|
@ -419,11 +419,14 @@ class BlockchainProcessorService(BlockchainService):
|
|||
)
|
||||
|
||||
# short url resolution
|
||||
for prefix_len in range(10):
|
||||
self.db.prefix_db.claim_short_id.stage_put(
|
||||
self.db.prefix_db.claim_short_id.stage_multi_put(
|
||||
[
|
||||
(
|
||||
(pending.normalized_name, pending.claim_hash.hex()[:prefix_len + 1],
|
||||
pending.root_tx_num, pending.root_position),
|
||||
(pending.tx_num, pending.position)
|
||||
) for prefix_len in range(10)
|
||||
]
|
||||
)
|
||||
|
||||
if pending.signing_hash and pending.channel_signature_is_valid:
|
||||
|
|
Loading…
Reference in a new issue