Skip to content

Commit

Permalink
Fix linux build broken with windows dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
atanmarko committed Dec 5, 2018
1 parent 8f5768a commit 511e29d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/wallet.cc
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,6 @@ NAN_METHOD(Wallet::WalletExists) {

NAN_METHOD(Wallet::CreateWallet) {
CreateWalletArgs walletArgs;
std::cout << "Wallet::CreateWallet" << std::endl;
win_checkDLL("Kreiram ovde jedan wallet!");
std::string error = walletArgs.Init(info);
if (!error.empty()) {
Nan::ThrowError(error.c_str());
Expand Down Expand Up @@ -309,9 +307,6 @@ v8::Local<v8::Object> Wallet::NewInstance(SafexNativeWallet *wallet) {
Local<Context> context = Nan::GetCurrentContext();
Local<Object> instance = cons->NewInstance(context, argc, argv).ToLocalChecked();

std::cout << "Wallet::NewInstance" << std::endl;
win_checkDLL(" Wallet::NewInstance here!");

Wallet* w = new Wallet(wallet);
wallet->setListener(w);
//TODO: make it configurable
Expand Down

0 comments on commit 511e29d

Please sign in to comment.