diff --git a/src/cc/prices.cpp b/src/cc/prices.cpp index 40a777bcf..1db14d1b9 100644 --- a/src/cc/prices.cpp +++ b/src/cc/prices.cpp @@ -48,10 +48,10 @@ PricesFinish: payout (if winning) and update riskexposure need long/short exposure assets - exposure tokens + funding -> 1of2 CC global CC address and dealer address - pricebet -> user funds to 1of2 address. exposuretoken to exposure address - pricewin -> winnings from dealer funds, exposure token back to 1of2 address - priceloss -> exposuretoken back to 1of2 address + funding -> 1of2 CC global CC address and dealer address, exposure tokens to global 1of2 assets CC address + pricebet -> user funds and exposure token to 1of2 address. + pricewin -> winnings from dealer funds, exposure token back to global address + priceloss -> exposuretoken back to global address */ diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 48e1d75f3..44965db73 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4939,6 +4939,9 @@ UniValue pricesaddress(const UniValue& params, bool fHelp) char destaddr[64]; GetCCaddress1of2(cp,destaddr,pubkey2pk(pubkey),pubkey2pk(pubkey)); fprintf(stderr,"1of2 CC %s\n",destaddr); + cp->evalcode = EVAL_ASSETS; + GetCCaddress1of2(cp,destaddr,pubkey2pk(pubkey),pubkey2pk(pubkey)); + fprintf(stderr,"1of2 assets CC %s\n",destaddr); } return(CCaddress(cp,(char *)"Prices",pubkey)); }