Skip to content

Commit

Permalink
V2.32
Browse files Browse the repository at this point in the history
  • Loading branch information
ELHARAKA committed May 2, 2024
1 parent 3deedb5 commit 7143bd6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -64,7 +64,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -77,6 +77,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
6 changes: 6 additions & 0 deletions to_wif.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ def convert_uncompressed(hex_private_key):
file.write(f"{wif}\n")

def process_both_conversions(hex_private_key):
"""
Process both compressed and uncompressed WIF conversions for a given HEX private key.
Args:
hex_private_key (str): The hexadecimal private key to be converted.
"""
convert_compressed(hex_private_key)
convert_uncompressed(hex_private_key)

Expand Down

0 comments on commit 7143bd6

Please sign in to comment.