Skip to content

Commit

Permalink
Remove unnecessary logs in the standard library (FuelLabs#2684)
Browse files Browse the repository at this point in the history
remove unnecessary logs
  • Loading branch information
mohammadfawaz authored Sep 1, 2022
1 parent 6e1fbca commit d094af3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions sway-lib-std/src/inputs.sw
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,9 @@ pub fn input_count() -> u8 {
let type = tx_type();
match type {
Transaction::Script => {
log(17);
__gtf::<u8>(0, GTF_SCRIPT_INPUTS_COUNT)
},
Transaction::Create => {
log(19);
__gtf::<u8>(0, GTF_CREATE_INPUTS_COUNT)
},
}
Expand Down
1 change: 0 additions & 1 deletion sway-lib-std/src/outputs.sw
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ pub enum Output {
/// Get the type of an output at `index`.
pub fn output_type(index: u64) -> Output {
let type = __gtf::<u64>(index, GTF_OUTPUT_TYPE);
log(type);
match type {
0u8 => {
Output::Coin
Expand Down

0 comments on commit d094af3

Please sign in to comment.