Skip to content

Commit 48ceddc

Browse files
author
Alex Woods
committed
Add TODO check comment for deposit amount
1 parent e8e6a28 commit 48ceddc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/rest_blockfrost/src/handlers/transactions.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ impl Serialize for TxOutputAmount {
8888
}
8989
}
9090

91-
/// Handle `/txs/{hash}`
91+
/// Handle `/txs/{hash}[/param][/param2]`
9292
pub async fn handle_transactions_blockfrost(
9393
context: Arc<Context<Message>>,
9494
params: Vec<String>,
@@ -183,6 +183,7 @@ async fn handle_transaction_query(
183183
};
184184
// TODO: calc from outputs and inputs if recorded_fee is None
185185
let fee = txs_info.recorded_fee.unwrap_or_default();
186+
// TODO: Check whether updates require a deposit or not
186187
let deposit = match calculate_deposit(
187188
txs_info.pool_update_count,
188189
txs_info.stake_cert_count,

0 commit comments

Comments
 (0)