@pioneer-platform/mayachain-client 0.0.24 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
@@ -214,7 +214,7 @@ var get_quote = function (quote) {
|
|
214
214
|
log.info(tag, "memo: ", memo);
|
215
215
|
type = void 0;
|
216
216
|
chain = quote.sellAsset.split(".")[0];
|
217
|
-
if (chain == "
|
217
|
+
if (chain == "MAYA") {
|
218
218
|
type = 'deposit';
|
219
219
|
}
|
220
220
|
else {
|
@@ -228,7 +228,7 @@ var get_quote = function (quote) {
|
|
228
228
|
recipientAddress: quoteFromNode.inbound_address,
|
229
229
|
amount: quote.sellAmount,
|
230
230
|
token: quote.sellAsset.split(".")[1],
|
231
|
-
memo: memo
|
231
|
+
memo: quoteFromNode.memo || memo
|
232
232
|
}
|
233
233
|
};
|
234
234
|
output.txs = [
|