diff --git a/app/src/main/cpp/monerujo.cpp b/app/src/main/cpp/monerujo.cpp index 4380d5c..90bf47e 100644 --- a/app/src/main/cpp/monerujo.cpp +++ b/app/src/main/cpp/monerujo.cpp @@ -639,7 +639,7 @@ Java_com_wownero_wownerujo_model_Wallet_initJ(JNIEnv *env, jobject instance, // virtual bool createWatchOnly(const std::string &path, const std::string &password, const std::string &language) const = 0; JNIEXPORT void JNICALL -Java_com_m2049r_xmrwallet_model_Wallet_setRestoreHeight(JNIEnv *env, jobject instance, +Java__com_wownero_wownerujo_model_Wallet_setRestoreHeight(JNIEnv *env, jobject instance, jlong height) { Bitmonero::Wallet *wallet = getHandle(env, instance); wallet->setRefreshFromBlockHeight((uint64_t) height); diff --git a/app/src/main/java/com/wownero/wownerujo/model/WalletManager.java b/app/src/main/java/com/wownero/wownerujo/model/WalletManager.java index cebe250..d379931 100644 --- a/app/src/main/java/com/wownero/wownerujo/model/WalletManager.java +++ b/app/src/main/java/com/wownero/wownerujo/model/WalletManager.java @@ -80,6 +80,7 @@ public class WalletManager { if (wallet.getStatus() == Wallet.Status.Status_Ok) { // (Re-)Estimate restore height based on what we know long oldHeight = wallet.getRestoreHeight(); + Timber.d("Changing Restore Height from %d to %d", oldHeight, wallet.getRestoreHeight()); wallet.setRestoreHeight(RestoreHeight.getInstance().getHeight(new Date())); Timber.d("Changed Restore Height from %d to %d", oldHeight, wallet.getRestoreHeight()); wallet.setPassword(password); // this rewrites the keys file (which contains the restore height) diff --git a/script/build-external-libs/fetch-wownero.sh b/script/build-external-libs/fetch-wownero.sh index f9b018e..6b943ab 100755 --- a/script/build-external-libs/fetch-wownero.sh +++ b/script/build-external-libs/fetch-wownero.sh @@ -8,15 +8,15 @@ base_dir=`pwd` cd $EXTERNAL_LIBS_BUILD_ROOT -# version="v0.2.2.0" +version="v0.2.2.0" # url="https://github.com/wownero/wownero" # branch-release-v0.3.0.0 (ring size 22) # version="48bcb9" -# url="$base_dir/vendor/wownero" -url="https://github.com/wowario/wownero" -version="927f04" +url="$base_dir/vendor/wownero" +# url="https://github.com/wowario/wownero" +# version="927f04" rm -rf wownero