From 09a946c5fd2d224a3944bbe7e1bacd3474023c63 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 7 Mar 2017 21:57:47 +0200 Subject: [PATCH] Test --- basilisk/smartaddress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basilisk/smartaddress.c b/basilisk/smartaddress.c index 2aa4b5923..95b15c6e9 100755 --- a/basilisk/smartaddress.c +++ b/basilisk/smartaddress.c @@ -27,7 +27,7 @@ int32_t smartaddress_add(struct supernet_info *myinfo,bits256 privkey,char *BTCa ap = &myinfo->smartaddrs[myinfo->numsmartaddrs++]; ap->privkey = privkey; bitcoin_pubkey33(myinfo->ctx,ap->pubkey33,privkey); - calc_rmd160(0,ap->rmd160,ap->pubkey33,33); + calc_rmd160_sha256(ap->rmd160,ap->pubkey33,33); ap->pubkey = curve25519(privkey,curve25519_basepoint9()); char coinaddr[64]; uint8_t addrtype,rmd160[20]; bitcoin_address(coinaddr,0,ap->pubkey33,33);