|
|
@ -112,9 +112,9 @@ int32_t LP_quoteparse(struct LP_quoteinfo *qp,cJSON *argjson) |
|
|
|
qp->destvout = jint(argjson,"destvout"); |
|
|
|
qp->desthash = jbits256(argjson,"desthash"); |
|
|
|
if ( (qp->satoshis= j64bits(argjson,"satoshis")) == 0 ) |
|
|
|
qp->satoshis = j64bits(argjson,"value"); |
|
|
|
qp->satoshis = SATOSHIDEN * jdouble(argjson,"value"); |
|
|
|
if ( (qp->satoshis2= j64bits(argjson,"satoshis2")) == 0 ) |
|
|
|
qp->satoshis2 = j64bits(argjson,"value2"); |
|
|
|
qp->satoshis = SATOSHIDEN * jdouble(argjson,"value2"); |
|
|
|
qp->destsatoshis = j64bits(argjson,"destsatoshis"); |
|
|
|
qp->change = SATOSHIDEN * jdouble(argjson,"change"); |
|
|
|
qp->txfee = j64bits(argjson,"txfee"); |
|
|
|