Test
This commit is contained in:
@@ -992,7 +992,6 @@ void komodo_listunspent();
|
|||||||
|
|
||||||
int32_t komodo_staked(uint256 *utxotxidp,int32_t *utxovoutp,uint64_t *utxovaluep,uint8_t *utxosig)
|
int32_t komodo_staked(uint256 *utxotxidp,int32_t *utxovoutp,uint64_t *utxovaluep,uint8_t *utxosig)
|
||||||
{
|
{
|
||||||
set<CBitcoinAddress> setAddress; int32_t nMinDepth = 1,nMaxDepth = 9999999;
|
|
||||||
*utxovaluep = 0;
|
*utxovaluep = 0;
|
||||||
memset(utxotxidp,0,sizeof(*utxotxidp));
|
memset(utxotxidp,0,sizeof(*utxotxidp));
|
||||||
memset(utxovoutp,0,sizeof(*utxovoutp));
|
memset(utxovoutp,0,sizeof(*utxovoutp));
|
||||||
|
|||||||
@@ -2693,8 +2693,7 @@ UniValue listunspent(const UniValue& params, bool fHelp)
|
|||||||
|
|
||||||
void komodo_listunspent()
|
void komodo_listunspent()
|
||||||
{
|
{
|
||||||
fprintf(stderr,"call listunspent\n");
|
set<CBitcoinAddress> setAddress; int32_t nMinDepth = 1,nMaxDepth = 9999999; vector<COutput> vecOutputs;
|
||||||
vector<COutput> vecOutputs;
|
|
||||||
assert(pwalletMain != NULL);
|
assert(pwalletMain != NULL);
|
||||||
LOCK2(cs_main, pwalletMain->cs_wallet);
|
LOCK2(cs_main, pwalletMain->cs_wallet);
|
||||||
pwalletMain->AvailableCoins(vecOutputs, false, NULL, true);
|
pwalletMain->AvailableCoins(vecOutputs, false, NULL, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user