diff --git a/packages/hdwallet-keepkey/src/ripple.ts b/packages/hdwallet-keepkey/src/ripple.ts index a94efb57..c95b9f15 100644 --- a/packages/hdwallet-keepkey/src/ripple.ts +++ b/packages/hdwallet-keepkey/src/ripple.ts @@ -26,6 +26,9 @@ export async function rippleSignTx(transport: Transport, msg: core.RippleSignTx) if (msg.payment.destinationTag !== undefined) payment.setDestinationTag(parseInt(msg.payment.destinationTag)); signTx.setPayment(payment); + const memo = msg.tx.value.memo; + if (memo && memo.trim() && memo.trim() !== ' ') signTx.setMemo(memo.trim()); + const resp = await transport.call(Messages.MessageType.MESSAGETYPE_RIPPLESIGNTX, signTx, { msgTimeout: core.LONG_TIMEOUT, omitLock: true,