Skip to content

Commit

Permalink
feat(validations): remove a debug trace
Browse files Browse the repository at this point in the history
  • Loading branch information
lrubiorod committed Mar 29, 2019
1 parent 2fc73f5 commit 5e5827e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 4 additions & 5 deletions node/src/actors/chain_manager/mining.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@ use crate::actors::{
};

use witnet_crypto::hash::calculate_sha256;
use witnet_data_structures::chain::{Hashable, KeyedSignature, OutputPointer, Transaction};
use witnet_data_structures::data_request::{create_commit_body, create_reveal_body};
use witnet_data_structures::{
chain::{
Block, BlockHeader, CheckpointBeacon, Hash, Input, LeadershipProof, Output, PublicKeyHash,
Secp256k1Signature, Signature, TransactionsPool, UnspentOutputsPool, ValueTransferOutput,
Block, BlockHeader, CheckpointBeacon, Hash, Hashable, Input, KeyedSignature,
LeadershipProof, Output, OutputPointer, PublicKeyHash, Secp256k1Signature, Signature,
Transaction, TransactionsPool, UnspentOutputsPool, ValueTransferOutput,
},
data_request::{create_tally_body, create_vt_tally},
data_request::{create_commit_body, create_reveal_body, create_tally_body, create_vt_tally},
serializers::decoders::TryFrom,
};
use witnet_rad::types::RadonTypes;
Expand Down
1 change: 0 additions & 1 deletion validations/src/validations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ pub fn transaction_fee(
if out_value > in_value {
Err(TransactionError::NegativeFee)?
} else {
log::error!("Calculated fee is {}", in_value - out_value);
Ok(in_value - out_value)
}

Expand Down

0 comments on commit 5e5827e

Please sign in to comment.