- Updated channel CC docs

This commit is contained in:
Mihailo Milenkovic
2018-10-02 15:06:55 +02:00
parent ae6574ee79
commit 0cb59663e2
2 changed files with 54 additions and 2 deletions

View File

@@ -727,7 +727,6 @@ UniValue ChannelsInfo(uint256 channeltxid)
{
txid = it->first.txhash;
nValue = (int64_t)it->second;
if (txid!=prevtxid && GetTransaction(txid,tx,hashBlock,false) != 0 && (numvouts= tx.vout.size()) > 0 )
{
if (DecodeChannelsOpRet(tx.vout[numvouts-1].scriptPubKey,tmp_txid,srcpub,destpub,param1,param2,param3) == 'O' && tx.GetHash()==channeltxid)