From f4fc4a80f9a73e661e53e3e2aaca46cc066405d5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 15 Aug 2018 00:50:04 -1100 Subject: [PATCH] Add nonceto faucet get --- src/cc/faucet.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cc/faucet.cpp b/src/cc/faucet.cpp index e31ebbb25..42e767442 100644 --- a/src/cc/faucet.cpp +++ b/src/cc/faucet.cpp @@ -174,6 +174,7 @@ std::string FaucetGet(uint64_t txfee) for (i=0; i<1000000; i++) { tmpmtx = mtx; + opret << OP_RETURN << E_MARSHAL(ss << EVAL_FAUCET << 'G' << i); rawhex = FinalizeCCTx(-1LL,cp,tmpmtx,mypk,txfee,opret); // signature changes each time if ( (len= (int32_t)rawhex.size()) > 0 && len < 65536 ) {