Merge pull request #354 from lbryio/fix_publisher_bug

Fixing bug in publisher
This commit is contained in:
Umpei Kay Kurokawa 2016-12-19 19:12:00 -05:00 committed by GitHub
commit 7404b127bf

View file

@ -137,9 +137,6 @@ class Publisher(object):
m = Metadata(self.metadata) m = Metadata(self.metadata)
def set_txid_nout(claim_out): def set_txid_nout(claim_out):
if not claim_out['success']:
msg = 'Failed to claim name:{}'.format(claim_out['reason'])
defer.fail(Exception(msg))
txid = claim_out['txid'] txid = claim_out['txid']
nout = claim_out['nout'] nout = claim_out['nout']
log.debug('Name claimed using txid: %s, nout: %d', txid, nout) log.debug('Name claimed using txid: %s, nout: %d', txid, nout)