add details to TODO, format doc example

This commit is contained in:
Riccardo Casatta 2021-06-04 15:05:35 +02:00
parent 1639984b56
commit ba2e3042cc
No known key found for this signature in database
GPG Key ID: FD986A969E450397

View File

@ -227,7 +227,9 @@ impl Blockchain for RpcBlockchain {
timestamp: tx_result.info.time,
received,
sent,
fees: tx_result.fee.map(|f| f.as_sat().abs() as u64).unwrap_or(0), //TODO
//TODO it could happen according to the node situation/configuration that the
// fee is not known [TransactionDetails:fee] should be made [Option]
fees: tx_result.fee.map(|f| f.as_sat().abs() as u64).unwrap_or(0),
height: tx_result.info.blockheight,
};
debug!(