diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index b1acf98bc..942984b26 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -1645,8 +1645,8 @@ char *LP_autobuy(void *ctx,int32_t fomoflag,char *myipaddr,int32_t mypubsock,cha } } int32_t changed; - Q.gtcflag = gtcflag; - Q.fillflag = fillflag; + Q.gtc = gtcflag; + Q.fill = fillflag; LP_mypriceset(&changed,rel,base,1. / maxprice); LP_mypriceset(&changed,base,rel,0.); if ( uuidstr == 0 || uuidstr[0] == 0 ) diff --git a/iguana/exchanges/LP_signatures.c b/iguana/exchanges/LP_signatures.c index 122e34ca7..b3d7f0d65 100644 --- a/iguana/exchanges/LP_signatures.c +++ b/iguana/exchanges/LP_signatures.c @@ -28,7 +28,7 @@ struct basilisk_request *LP_requestinit(struct basilisk_request *rp,bits256 srch rp->timestamp = timestamp; rp->DEXselector = DEXselector; rp->fill = fillflag; - rp->gtc = gtc; + rp->gtc = gtcflag; safecopy(rp->src,src,sizeof(rp->src)); safecopy(rp->dest,dest,sizeof(rp->dest)); R = *rp;