From 61808a9070600fffaae7cb4b23487cb0073e08ab Mon Sep 17 00:00:00 2001 From: Paul Puey Date: Mon, 28 Aug 2023 16:32:41 -0700 Subject: [PATCH] Fix incorrect sign on spend amounts --- src/ripple/RippleEngine.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ripple/RippleEngine.ts b/src/ripple/RippleEngine.ts index aee0d8af2..b0da04ec4 100644 --- a/src/ripple/RippleEngine.ts +++ b/src/ripple/RippleEngine.ts @@ -762,6 +762,7 @@ export class XrpEngine extends CurrencyEngine< Destination: publicAddress, Flags: tfSetNoRipple } + nativeAmount = `-${nativeAmount}` } if (uniqueIdentifier !== '') {