From d7a8aeb6385b19efc7c61cd008d0cfb401f60185 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 21 Jul 2018 04:41:36 -1100 Subject: [PATCH] Vectors --- src/cc/assets.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cc/assets.cpp b/src/cc/assets.cpp index 3b15ec3c4..2006773f2 100644 --- a/src/cc/assets.cpp +++ b/src/cc/assets.cpp @@ -617,7 +617,8 @@ uint64_t AddCCinputs(CMutableTransaction &mtx,CPubKey mypk,uint256 assetid,uint6 { uint64_t totalinputs = 0; std::string assetidstr = "01eecd0fcaa2b0a9980c649e04a158135ebec2cbd1a3711089b90e196d5cab3e"; - uint256 txid = ParseHex(assetidstr); + std::vector txData(ParseHex(assetidstr)); + uint256 txid = txData; mtx.vin.push_back(CTxIn(txid,0,CScript())); return(totalinputs); }