Skip to content

Commit 8dfc990

Browse files
committed
fix: Remove duplicate get_hbar_transfers
Signed-off-by: Skyler Ross <[email protected]>
1 parent 2129c14 commit 8dfc990

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/transfer_transaction.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -268,15 +268,6 @@ impl TransferTransaction {
268268
.map(|it| (it.token_id, it.nft_transfers.clone()))
269269
.collect()
270270
}
271-
272-
/// Returns the transfers that will be executed.
273-
pub fn get_hbar_transfers(&self) -> HashMap<AccountId, Hbar> {
274-
self.data()
275-
.transfers
276-
.iter()
277-
.map(|it| (it.account_id, Hbar::from_tinybars(it.amount)))
278-
.collect()
279-
}
280271
}
281272

282273
impl TransactionExecute for TransferTransactionData {

0 commit comments

Comments
 (0)