From 384c05de7fdf0e13d6e54181fbb8ba37b7741c46 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 11 Sep 2018 03:31:38 -1100 Subject: [PATCH] Test --- src/cc/CCutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/CCutils.cpp b/src/cc/CCutils.cpp index c11ae2d3b..3a448a92c 100644 --- a/src/cc/CCutils.cpp +++ b/src/cc/CCutils.cpp @@ -187,7 +187,7 @@ CPubKey CCtxidaddr(char *txidaddr,uint256 txid) buf33[0] = 0x02; endiancpy(&buf33[1],(uint8_t *)&txid,32); pk = buf2pk(buf33); - Getscriptaddress(coinaddr,CScript() << ParseHex(HexStr(pk)) << OP_CHECKSIG); + Getscriptaddress(txidaddr,CScript() << ParseHex(HexStr(pk)) << OP_CHECKSIG); return(pk); }