Skip to content

Commit

Permalink
Fix JNI Linux CI (#4065)
Browse files Browse the repository at this point in the history
* Add linux-ci-jni.yml for tests only

* Fix compilation

* Include algorithm

* Delete linux-ci-jni.yml
  • Loading branch information
satoshiotomakan authored Oct 15, 2024
1 parent 90ac739 commit e111f03
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/Filecoin/Address.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#include "Address.h"

#include <algorithm>
#include <climits>

#include "../Base32.h"
Expand Down
3 changes: 2 additions & 1 deletion src/Groestlcoin/Address.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
// Copyright © 2017 Trust Wallet.

#include "Address.h"
#include "Base58.h"

#include "../Base58.h"
#include <algorithm>
#include <TrezorCrypto/ecdsa.h>

namespace TW::Groestlcoin {
Expand Down
1 change: 0 additions & 1 deletion src/NEO/Transaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ Transaction* Transaction::deserializeFrom(const Data& data, size_t initial_pos)
break;
default:
throw std::invalid_argument("Transaction::deserializeFrom Invalid transaction type");
break;
}
resp->deserialize(data, initial_pos);
return resp;
Expand Down
3 changes: 2 additions & 1 deletion src/Nano/Signer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
#include "../BinaryCoding.h"
#include "../HexCoding.h"
#include "../uint256.h"
#include <nlohmann/json.hpp>

#include <algorithm>
#include <nlohmann/json.hpp>
#include <google/protobuf/util/json_util.h>

using namespace TW;
Expand Down
1 change: 1 addition & 0 deletions src/interface/TWCardano.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Copyright © 2017 Trust Wallet.

#include <algorithm>
#include <TrustWalletCore/TWCardano.h>

#include "Cardano/Transaction.h"
Expand Down

0 comments on commit e111f03

Please sign in to comment.