Fix fee parameter typo in TransactionDetails
This commit is contained in:
		
							parent
							
								
									236360e8c4
								
							
						
					
					
						commit
						c722223b49
					
				| @ -73,7 +73,7 @@ interface DatabaseConfig { | ||||
| }; | ||||
| 
 | ||||
| dictionary TransactionDetails { | ||||
|     u64? fees; | ||||
|     u64? fee; | ||||
|     u64 received; | ||||
|     u64 sent; | ||||
|     string txid; | ||||
|  | ||||
| @ -51,7 +51,7 @@ pub enum BlockchainConfig { | ||||
| 
 | ||||
| #[derive(Debug, Clone, PartialEq, Eq, Default)] | ||||
| pub struct TransactionDetails { | ||||
|     pub fees: Option<u64>, | ||||
|     pub fee: Option<u64>, | ||||
|     pub received: u64, | ||||
|     pub sent: u64, | ||||
|     pub txid: String, | ||||
| @ -71,7 +71,7 @@ pub enum Transaction { | ||||
| impl From<&bdk::TransactionDetails> for TransactionDetails { | ||||
|     fn from(x: &bdk::TransactionDetails) -> TransactionDetails { | ||||
|         TransactionDetails { | ||||
|             fees: x.fee, | ||||
|             fee: x.fee, | ||||
|             txid: x.txid.to_string(), | ||||
|             received: x.received, | ||||
|             sent: x.sent, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user