Skip to content

Commit 0e68e77

Browse files
committed
rust: get_unspent_outputs: fix user_path
Set the full path.
1 parent a323e14 commit 0e68e77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subprojects/gdk_rust/gdk_electrum/src/account.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ impl Account {
448448
output.value,
449449
output.script_pubkey.into(),
450450
height.clone(),
451-
path.clone(),
451+
self.get_full_path(&path).into(),
452452
self.script_code(&path).to_hex(),
453453
),
454454
)
@@ -490,7 +490,7 @@ impl Account {
490490
unblinded.value,
491491
output.script_pubkey.into(),
492492
height.clone(),
493-
path.clone(),
493+
self.get_full_path(&path).into(),
494494
output.asset.is_confidential()
495495
&& output.value.is_confidential(),
496496
self.script_code(&path).to_hex(),

0 commit comments

Comments
 (0)