Test
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
cd rogue;
|
||||
./configure # only need this first time
|
||||
#./configure # only need this first time
|
||||
make; cd ..
|
||||
gcc -Wno-write-strings -DBUILD_ROGUE -std=c++11 -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -o librogue.so -c cclib.cpp -lncurses
|
||||
#gcc -std=c++11 -fPIC -shared -o librogue.so cclib.o rogue/rogue.so
|
||||
|
||||
@@ -328,8 +328,8 @@ int32_t rogue_findbaton(struct CCcontract_info *cp,std::vector<uint8_t> &playerd
|
||||
{
|
||||
if ( playertxid == zeroid || rogue_playerdata(cp,origplayergame,pk,playerdata,playertxid) == 0 )
|
||||
{
|
||||
txid = spenttxid;
|
||||
fprintf(stderr,"scan forward playertxid.%s spenttxid.%s\n",playertxid.GetHex().c_str(),spenttxid.GetHex().c_str());
|
||||
txid = matchtx.GetHash();
|
||||
fprintf(stderr,"scan forward playertxid.%s spenttxid.%s\n",playertxid.GetHex().c_str(),txid.GetHex().c_str());
|
||||
while ( CCgettxout(txid,0,1) < 0 )
|
||||
{
|
||||
spenttxid = zeroid;
|
||||
|
||||
Reference in New Issue
Block a user