This commit is contained in:
jl777
2018-08-29 05:09:16 -11:00
parent 8ecc57e0c6
commit 91f727e34f

View File

@@ -250,7 +250,7 @@ UniValue ChannelsInfo()
//int height = it->first.blockHeight;
txid = it->first.txhash;
vout = (int32_t)it->first.index;
nValue = (int64_t)it->second.satoshis;
nValue = (int64_t)it->second;
if ( vout == 1 && GetTransaction(txid,tx,hashBlock,false) != 0 && (numvouts= tx.vout.size()) > 0 )
{
if ( DecodeChannelsOpRet(txid,tx.vout[numvouts-1].scriptPubKey,srcpub,destpub,numpayments,payment,hashchain) == 'O' || funcid == 'P' )