Skip to content

Commit

Permalink
Updated integration tests tag for CI; added version info to TCPSigner
Browse files Browse the repository at this point in the history
  • Loading branch information
amendelzon committed Apr 4, 2024
1 parent 5b29d8e commit b9f5ce4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: rootstock/hsm-integration-test
ref: 4.0.0.plus
ref: 4.0.0.segwit.plus
path: hsm-integration-test
ssh-key: ${{ secrets.HSM_INTEGRATION_TEST_SSH_KEY }}

Expand Down
4 changes: 4 additions & 0 deletions ledger/src/tcpsigner/tcpsigner.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
#include "bc_advance.h"
#include "bc_state.h"
#include "bc_diff.h"
#include "defs.h"

#include "hex_reader.h"

Expand Down Expand Up @@ -316,6 +317,9 @@ void main(int argc, char **argv) {
// Output welcome message & parameters
info("TCPSigner starting.\n");

// Output signer version
info("Signer version: %u.%u.%u\n", VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);

info("Signer parameters:\n");
info_hex("Checkpoint:", arguments.checkpoint, sizeof(arguments.checkpoint));
info_bigd_hex("Difficulty: ",
Expand Down

0 comments on commit b9f5ce4

Please sign in to comment.