Skip to content

Commit

Permalink
Merge pull request #609 from EdgeApp/paul/xrpSpendSign
Browse files Browse the repository at this point in the history
Fix incorrect sign on spend amounts
  • Loading branch information
paullinator authored Aug 29, 2023
2 parents 3c88089 + 61808a9 commit 900f14a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ripple/RippleEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,7 @@ export class XrpEngine extends CurrencyEngine<
Destination: publicAddress,
Flags: tfSetNoRipple
}
nativeAmount = `-${nativeAmount}`
}

if (uniqueIdentifier !== '') {
Expand Down

0 comments on commit 900f14a

Please sign in to comment.