Test
This commit is contained in:
@@ -4910,6 +4910,14 @@ UniValue channelsaddress(const UniValue& params, bool fHelp)
|
|||||||
result.push_back(Pair("otherpubkey", params[0].get_str()));
|
result.push_back(Pair("otherpubkey", params[0].get_str()));
|
||||||
GetCCaddress1of2(cp,destaddr,pk,pk2);
|
GetCCaddress1of2(cp,destaddr,pk,pk2);
|
||||||
result.push_back(Pair("channeladdress",destaddr));
|
result.push_back(Pair("channeladdress",destaddr));
|
||||||
|
{
|
||||||
|
int32_t i;
|
||||||
|
for (i=0; i<100; i++)
|
||||||
|
{
|
||||||
|
GetCCaddress1of2(cp,destaddr,pk,pk2);
|
||||||
|
fprintf(stderr,"i.%d %s\n",i,destaddr);
|
||||||
|
}
|
||||||
|
}
|
||||||
return(result);
|
return(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user