From bfbcf20c050ed96a0d9bd16e1e7a3d7729e9db0d Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 28 Aug 2017 11:42:27 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_commands.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index 93784bfbb..54b29fb63 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -121,6 +121,7 @@ sendmessage(base=coin, rel="", pubkey=zero, )\n\ getmessages(firsti=0, num=100)\n\ clearmessages(firsti=0, num=100)\n\ snapshot(coin, height)\n\ +snapshot_balance(coin, height, addresses[])\n\ dividends(coin, height, )\n\ \"}")); @@ -266,7 +267,7 @@ dividends(coin, height, )\n\ return(LP_dividends(ptr,juint(argjson,"height"),argjson)); else return(clonestr("{\"error\":\"cant find coind\"}")); } - else if ( strcmp(method,"balance") == 0 ) + else if ( strcmp(method,"snapshot_balance") == 0 ) { if ( (ptr= LP_coinsearch(coin)) != 0 ) return(LP_snapshot_balance(ptr,juint(argjson,"height"),argjson));