From 66468ce589a712afc00d3d2f6ebf4a09bf25c027 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 12 Jul 2019 01:42:45 -1100 Subject: [PATCH] Test --- src/cc/pegs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/pegs.cpp b/src/cc/pegs.cpp index 7c64d6cd2..002b591c4 100644 --- a/src/cc/pegs.cpp +++ b/src/cc/pegs.cpp @@ -539,7 +539,7 @@ std::string PegsGetTokenName(uint256 tokenid) { CTransaction tokentx; uint256 hashBlock; std::string name,desc; std::vector vorigpubkey; int32_t numvouts; - if (myGetTransaction(tokenid,tokentx,hashBlock,false)!=0 && (numvouts=tokentx.vout.size())>0 && DecodeTokenCreateOpRet(tokentx.vout[numvouts-1].scriptPubKey,vorigpubkey,name,desc)=='c') + if (myGetTransaction(tokenid,tokentx,hashBlock)!=0 && (numvouts=tokentx.vout.size())>0 && DecodeTokenCreateOpRet(tokentx.vout[numvouts-1].scriptPubKey,vorigpubkey,name,desc)=='c') { return (name); }