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;
309
309
310
310
typedef enum ChainPosition;
311
311
312
- dictionary CanonicalTx {
313
- Transaction transaction;
314
- ChainPosition chain_position;
315
- };
312
+ typedef dictionary CanonicalTx;
316
313
317
314
/// Builds a [`FullScanRequest`].
318
315
interface FullScanRequestBuilder {
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ use crate::keys::DescriptorPublicKey;
44
44
use crate :: keys:: DescriptorSecretKey ;
45
45
use crate :: keys:: Mnemonic ;
46
46
use crate :: types:: AddressInfo ;
47
- use crate :: types:: CanonicalTx ;
48
47
use crate :: types:: ChainPosition ;
49
48
use crate :: types:: Condition ;
50
49
use crate :: types:: FullScanRequest ;
Original file line number Diff line number Diff line change @@ -101,8 +101,12 @@ pub struct BlockId {
101
101
pub hash : String ,
102
102
}
103
103
104
+ /// A transaction that is deemed to be part of the canonical history.
105
+ #[ derive( uniffi:: Record ) ]
104
106
pub struct CanonicalTx {
107
+ /// The transaction.
105
108
pub transaction : Arc < Transaction > ,
109
+ /// How the transaction is observed in the canonical chain (confirmed or unconfirmed).
106
110
pub chain_position : ChainPosition ,
107
111
}
108
112
You can’t perform that action at this time.
0 commit comments