Skip to content

Commit bdea560

Browse files
committed
in offerlist: renamed 'name' to 'guid', added 'title' field
1 parent ce89bb1 commit bdea560

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/offer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2057,7 +2057,8 @@ Value offerlist(const Array& params, bool fHelp) {
20572057

20582058
// build the output object
20592059
Object oName;
2060-
oName.push_back(Pair("name", stringFromVch(vchName)));
2060+
oName.push_back(Pair("guid", stringFromVch(vchName)));
2061+
oName.push_back(Pair("title", stringFromVch(theOfferA.sTitle)));
20612062
oName.push_back(Pair("category", stringFromVch(theOfferA.sCategory)));
20622063
oName.push_back(Pair("description", stringFromVch(theOfferA.sDescription)));
20632064
oName.push_back(Pair("price", ValueFromAmount(theOfferA.nPrice) ) );

0 commit comments

Comments
 (0)