fix namespace

This commit is contained in:
fuwa
2018-09-28 12:33:21 +08:00
parent f0300794c9
commit bd9bf2c609
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -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)
+4 -4
View File
@@ -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