From 9c1d593e54e06213f6d7cd6289cb07ce20120228 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Thu, 10 Sep 2020 22:14:31 -0300 Subject: [PATCH] fix set_reference --- lbry/schema/result.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/lbry/schema/result.py b/lbry/schema/result.py index 5f4519c72..3d197de0b 100644 --- a/lbry/schema/result.py +++ b/lbry/schema/result.py @@ -15,10 +15,10 @@ BLOCKED = ErrorMessage.Code.Name(ErrorMessage.BLOCKED) def set_reference(reference, claim_hash, rows): if claim_hash: for txo in rows: - if claim_hash == txo['claim_hash']: - reference.tx_hash = txo['txo_hash'][:32] - reference.nout = struct.unpack('