From 0e2a7e6be73052fdfd5d88f27248d81741fb9ba0 Mon Sep 17 00:00:00 2001 From: gmart7t2 <49558347+gmart7t2@users.noreply.github.com> Date: Mon, 27 Feb 2023 15:20:29 -0400 Subject: [PATCH] Fix #1801 Mark change addresses as change addresses and receiving addresses as receiving addresses rather than the other way around. --- src/subcommand/wallet.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subcommand/wallet.rs b/src/subcommand/wallet.rs index 0404f2ad24..bd15307786 100644 --- a/src/subcommand/wallet.rs +++ b/src/subcommand/wallet.rs @@ -136,7 +136,7 @@ fn derive_and_import_descriptor( active: Some(true), range: None, next_index: None, - internal: Some(!change), + internal: Some(change), label: None, })?;