From b12ec8836558e3efd68ff5b29c37c9fb30205d3b Mon Sep 17 00:00:00 2001 From: Elliot Lee Date: Tue, 18 Jan 2022 22:24:14 -0800 Subject: [PATCH] Remove console.warn for partial payment (#1896) --- packages/xrpl/HISTORY.md | 3 +++ packages/xrpl/src/client/partialPayment.ts | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/xrpl/HISTORY.md b/packages/xrpl/HISTORY.md index 29909a41..1cfe2b08 100644 --- a/packages/xrpl/HISTORY.md +++ b/packages/xrpl/HISTORY.md @@ -4,6 +4,9 @@ Subscribe to [the **xrpl-announce** mailing list](https://groups.google.com/g/xr ## Unreleased +### Fixed +* Remove unnecessary console.warn for partial payments (#1783, #1784, #1896) + ## 2.1.1 (2021-12-23) ### Fixed * A bug in submitAndWait function where the transaction could still be in queue and the server returns `txnNotFound`. diff --git a/packages/xrpl/src/client/partialPayment.ts b/packages/xrpl/src/client/partialPayment.ts index 15b77a1a..1dd7a92b 100644 --- a/packages/xrpl/src/client/partialPayment.ts +++ b/packages/xrpl/src/client/partialPayment.ts @@ -148,7 +148,5 @@ export function handleStreamPartialPayment( stream.warnings = warnings log('Partial payment received', JSON.stringify(stream)) - // eslint-disable-next-line no-console -- we want to warn here when there's a partial payment - console.warn('Partial payment received', stream) } }