Test
This commit is contained in:
@@ -4862,6 +4862,7 @@ UniValue CCaddress(struct CCcontract_info *cp,char *name,std::vector<unsigned ch
|
|||||||
result.push_back(Pair("CCaddress",destaddr));
|
result.push_back(Pair("CCaddress",destaddr));
|
||||||
if ( Getscriptaddress(destaddr,(CScript() << pubkey << OP_CHECKSIG)) != 0 )
|
if ( Getscriptaddress(destaddr,(CScript() << pubkey << OP_CHECKSIG)) != 0 )
|
||||||
result.push_back(Pair(marker,destaddr));
|
result.push_back(Pair(marker,destaddr));
|
||||||
|
else fprintf(stderr,"destaddr error for %s\n",marker);
|
||||||
}
|
}
|
||||||
if ( GetCCaddress(cp,destaddr,pubkey2pk(Mypubkey())) != 0 )
|
if ( GetCCaddress(cp,destaddr,pubkey2pk(Mypubkey())) != 0 )
|
||||||
result.push_back(Pair("myCCaddress",destaddr));
|
result.push_back(Pair("myCCaddress",destaddr));
|
||||||
|
|||||||
Reference in New Issue
Block a user