From e0e655fec8928cfcc9e4e92e0b3252d3942b96f9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 29 Jul 2018 22:28:09 -1100 Subject: [PATCH] _ --- src/cc/dice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 70311610f..f3cf2da61 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -43,7 +43,7 @@ uint256 DiceHashEntropy(uint256 &entropy,uint256 _txidpriv) // max 1 vout per tx { int32_t i; uint8_t _entropy[32],_hentropy[32]; bits256 tmp256,txidpub,txidpriv,mypriv,mypub,ssecret,ssecret2; uint256 hentropy; memset(&hentropy,0,32); - endiancpy(txidpriv.bytes,(uint8_t *)&txidpriv,32); + endiancpy(txidpriv.bytes,(uint8_t *)&_txidpriv,32); txidpriv.bytes[0] &= 0xf8, txidpriv.bytes[31] &= 0x7f, txidpriv.bytes[31] |= 0x40; txidpub = curve25519(txidpriv,curve25519_basepoint9());