diff --git a/src/cc/gateways.cpp b/src/cc/gateways.cpp index e1dc81186..a8db5f78d 100644 --- a/src/cc/gateways.cpp +++ b/src/cc/gateways.cpp @@ -457,7 +457,17 @@ int64_t GatewaysVerify(char *refdepositaddr,uint256 oracletxid,int32_t claimvout txid = tx.GetHash(); nValue = tx.vout[i].nValue; break; - } else fprintf(stderr,"claimvout.%d scriptPubKey mismatch\n",claimvout); + } + else + { + int j; + for (j=0; j<25; j++) + fprintf(stderr,"%02x",((uint8_t *)&scriptPubKey)[j]); + fprintf(stderr," scriptPubKey\n"); + for (j=0; j<25; j++) + fprintf(stderr,"%02x",((uint8_t *)&tx.vout[claimvout].scriptPubKey)[j]); + fprintf(stderr," claimvout.%d scriptPubKey mismatch\n",claimvout); + } } else fprintf(stderr,"i.%d %s vs %s\n",i,destaddr,refdepositaddr); } } diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index c2f307c21..701696f75 100644 --- a/src/rpcserver.cpp +++ b/src/rpcserver.cpp @@ -356,9 +356,9 @@ static const CRPCCommand vRPCCommands[] = /* fsm */ { "FSM", "FSMaddress", &FSMaddress, true }, - { "FSMcreate", "FSMcreate", &FSMcreate, true }, - { "FSMlist", "FSMlist", &FSMlist, true }, - { "FSMinfo", "FSMinfo", &FSMinfo, true }, + { "FSM", "FSMcreate", &FSMcreate, true }, + { "FSM", "FSMlist", &FSMlist, true }, + { "FSM", "FSMinfo", &FSMinfo, true }, /* rewards */ { "rewards", "rewardslist", &rewardslist, true },