|
|
@ -248,6 +248,7 @@ snapshot(coin, height)\n\ |
|
|
|
} |
|
|
|
else if ( strcmp(method,"snapshot") == 0 ) |
|
|
|
{ |
|
|
|
printf("snapshot\n"); |
|
|
|
if ( (ptr= LP_coinsearch(coin)) != 0 ) |
|
|
|
ptr->inactive = (uint32_t)time(NULL); |
|
|
|
return(jprint(LP_snapshot(ptr,juint(argjson,"height")),1)); |
|
|
|