This commit is contained in:
jl777
2016-10-18 20:03:22 -03:00
parent 7c11831e04
commit c69c6c3e89
2 changed files with 26 additions and 15 deletions

View File

@@ -240,18 +240,6 @@ Value getrawtransaction(const Array& params, bool fHelp)
return result;
}
char *komodo_getspendscript(uint256 hash,int32_t n)
{
CTransaction tx; uint256 hashBlock;
LOCK(cs_main);
if ( GetTransaction(hash,tx,hashBlock,true) != 0 )
{
if ( n >= 0 && n < tx.vout.size() )
return((char *)tx.vout[n].scriptPubKey.ToString().c_str());
} else printf("null GetTransaction\n");
return(0);
}
Value gettxoutproof(const Array& params, bool fHelp)
{
if (fHelp || (params.size() != 1 && params.size() != 2))