Skip to content

Commit 9701eda

Browse files
author
silverpill
committed
Add block_height field to struct returned by incoming_transfers
1 parent 57367a4 commit 9701eda

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/models.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ pub struct IncomingTransfer {
306306
pub subaddr_index: subaddress::Index,
307307
pub tx_hash: HashString<CryptoNoteHash>,
308308
pub tx_size: Option<u64>,
309+
pub block_height: Option<u64>,
309310
}
310311

311312
/// Argument type of wallet `sweep_all`.

tests/clients_tests/all_clients_interaction.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@ pub async fn run() {
662662
spent: false,
663663
subaddr_index: Index { major: 0, minor: 0 },
664664
tx_hash: transfer_1_data.tx_hash.clone(),
665+
block_height: None,
665666
}]),
666667
};
667668
helpers::wallet::open_wallet_with_no_or_empty_password_assert_ok(&wallet, &wallet_1_view_only)

0 commit comments

Comments
 (0)