From a76b356f5f6a0c4c5f1385b67cbc9e1660cc2974 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 26 Apr 2017 17:18:03 +0300 Subject: [PATCH] Test --- basilisk/smartaddress.c | 1 + 1 file changed, 1 insertion(+) diff --git a/basilisk/smartaddress.c b/basilisk/smartaddress.c index be127b3a5..41b615f96 100755 --- a/basilisk/smartaddress.c +++ b/basilisk/smartaddress.c @@ -238,6 +238,7 @@ int32_t smartaddress_pubkey(struct supernet_info *myinfo,char *typestr,double *b if ( bits256_cmp(myinfo->smartaddrs[i].pubkey,pubkey) == 0 ) { ap = &myinfo->smartaddrs[i]; + *privkeyp = ap->privkey; if ( (j= smartaddress_symbolmatch(typestr,bidaskp,ap,symbol)) >= 0 ) retval = 0; else retval = (i+1);