Skip to content

Commit

Permalink
chore: remove commented code from ergo_tree.c
Browse files Browse the repository at this point in the history
  • Loading branch information
steel97 authored Jan 24, 2025
1 parent 7bc7d4c commit 50e5e8c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/ergo/ergo_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,7 @@ bool ergo_tree_parse_p2sh(const uint8_t tree[ERGO_TREE_P2SH_LEN],
}

void ergo_tree_miners_fee_tree(bool is_mainnet, const uint8_t** tree, size_t* size) {
// if (is_mainnet) {
UNUSED(is_mainnet);
*size = sizeof(C_ERGO_TREE_MINERS_HASH_FEE_MAINNET);
*tree = PIC(C_ERGO_TREE_MINERS_HASH_FEE_MAINNET);
// } else {
// *size = sizeof(C_ERGO_TREE_MINERS_HASH_FEE_TESTNET);
// *tree = PIC(C_ERGO_TREE_MINERS_HASH_FEE_TESTNET);
// }
}
}

0 comments on commit 50e5e8c

Please sign in to comment.