From 3e22ce7bc77848e1d5d9b650ab4621d76c6f60d4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 4 Mar 2019 01:19:08 -1100 Subject: [PATCH] Begin --- src/cc/dilithium.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/dilithium.c b/src/cc/dilithium.c index 80502687d..a35de9a2c 100644 --- a/src/cc/dilithium.c +++ b/src/cc/dilithium.c @@ -3526,7 +3526,7 @@ UniValue dilithium_handleinfo(uint64_t txfee,struct CCcontract_info *cp,cJSON *p if ( dilithium_registrationpub33(pub33,hashstr->destpubtxid) == 0 ) { for (i=0; i<33; i++) - sprintf(&str[i<<1],"%02x",((uint8_t *)pub33.ptr())[i]); + sprintf(&str[i<<1],"%02x",((uint8_t *)pub33.begin())[i]); str[i<<1] = 0; } result.push_back(Pair("pubkey",str));