From 906d8629ed997c82bf9375663a350806a3d2afa5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 22 Jan 2017 14:11:18 +0200 Subject: [PATCH] test --- src/komodo_curve25519.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_curve25519.h b/src/komodo_curve25519.h index 483c3e0d9..7271e3741 100644 --- a/src/komodo_curve25519.h +++ b/src/komodo_curve25519.h @@ -964,7 +964,7 @@ int32_t komodo_kvsigverify(uint8_t *buf,int32_t len,uint256 pubkey,uint256 sig) { bits256 hash,checksig; vcalc_sha256(0,hash.bytes,buf,len); - checksig = curve25519_shared(hash,pubkey); + checksig = curve25519_shared(hash,*(bits256 *)&pubkey); if ( memcmp(&checksig,&sig,sizeof(sig)) != 0 ) return(-1); else return(0);