Skip to content

Commit

Permalink
#342 Debug log before UTXO tx deserialize.
Browse files Browse the repository at this point in the history
  • Loading branch information
artemii235 committed Mar 25, 2019
1 parent 477869d commit eedf5af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mm2src/coins/utxo/rpc_clients.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ impl NativeClient {
pub fn output_amount(&self, txid: H256Json, index: usize) -> RpcRes<u64> {
let fut = self.get_raw_transaction(txid);
Box::new(fut.and_then(move |transaction| {
log!({"Before transaction {:?} deserialize", transaction});
let tx: UtxoTransaction = try_s!(deserialize(transaction.hex.as_slice()).map_err(|e| ERRL!("{:?}", e)));
Ok(tx.outputs[index].value)
}))
Expand Down

0 comments on commit eedf5af

Please sign in to comment.