File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -361,10 +361,7 @@ interface Satisfaction {
361361 None(string msg);
362362};
363363
364- dictionary Condition {
365- u32? csv;
366- LockTime? timelock;
367- };
364+ typedef record Condition;
368365
369366// ------------------------------------------------------------------------
370367// bdk_wallet crate - bitcoin re-exports
Original file line number Diff line number Diff line change @@ -569,9 +569,12 @@ impl From<BdkSatisfaction> for Satisfaction {
569569 }
570570}
571571
572- #[ derive( Debug , Clone ) ]
572+ /// An extra condition that must be satisfied but that is out of control of the user
573+ #[ derive( Debug , Clone , uniffi:: Record ) ]
573574pub struct Condition {
575+ /// Optional CheckSequenceVerify condition
574576 pub csv : Option < u32 > ,
577+ /// Optional timelock condition
575578 pub timelock : Option < LockTime > ,
576579}
577580
You can’t perform that action at this time.
0 commit comments