File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -333,14 +333,6 @@ typedef record Condition;
333333// bdk_wallet crate - bitcoin re-exports
334334// ------------------------------------------------------------------------
335335
336- [Remote]
337- enum WordCount {
338- "Words12",
339- "Words15",
340- "Words18",
341- "Words21",
342- "Words24",
343- };
344336
345337typedef interface Script;
346338
Original file line number Diff line number Diff line change @@ -42,7 +42,17 @@ use crate::types::SyncRequestBuilder;
4242use crate :: types:: SyncScriptInspector ;
4343
4444use bdk_wallet:: bitcoin:: Network ;
45- use bdk_wallet:: keys:: bip39:: WordCount ;
4645use bdk_wallet:: KeychainKind ;
4746
47+ type WordCount = bdk_wallet:: keys:: bip39:: WordCount ;
48+
49+ #[ uniffi:: remote( Enum ) ]
50+ pub enum WordCount {
51+ Words12 ,
52+ Words15 ,
53+ Words18 ,
54+ Words21 ,
55+ Words24 ,
56+ }
57+
4858uniffi:: include_scaffolding!( "bdk" ) ;
You can’t perform that action at this time.
0 commit comments