File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -309,10 +309,7 @@ typedef dictionary TxOut;
309309
310310typedef enum ChainPosition;
311311
312- dictionary CanonicalTx {
313- Transaction transaction;
314- ChainPosition chain_position;
315- };
312+ typedef dictionary CanonicalTx;
316313
317314/// Builds a [`FullScanRequest`].
318315interface FullScanRequestBuilder {
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ use crate::keys::DescriptorPublicKey;
4444use crate :: keys:: DescriptorSecretKey ;
4545use crate :: keys:: Mnemonic ;
4646use crate :: types:: AddressInfo ;
47- use crate :: types:: CanonicalTx ;
4847use crate :: types:: ChainPosition ;
4948use crate :: types:: Condition ;
5049use crate :: types:: FullScanRequest ;
Original file line number Diff line number Diff line change @@ -101,8 +101,12 @@ pub struct BlockId {
101101 pub hash : String ,
102102}
103103
104+ /// A transaction that is deemed to be part of the canonical history.
105+ #[ derive( uniffi:: Record ) ]
104106pub struct CanonicalTx {
107+ /// The transaction.
105108 pub transaction : Arc < Transaction > ,
109+ /// How the transaction is observed in the canonical chain (confirmed or unconfirmed).
106110 pub chain_position : ChainPosition ,
107111}
108112
You can’t perform that action at this time.
0 commit comments