mirror of
https://github.com/wownero/wownerujo.git
synced 2026-10-25 18:29:01 +01:00
fix namespace
This commit is contained in:
@@ -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<Bitmonero::Wallet>(env, instance);
|
||||
wallet->setRefreshFromBlockHeight((uint64_t) height);
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user