cake_wallet/scripts/prepare_moneroc.sh
cyan a149c71fb2
Update monero_c (#1709)
This fixes the issue where coin control doesn't work as expected, and ignores the preferred inputs
2024-09-28 02:07:40 +03:00

31 lines
580 B
Bash
Executable file

#!/bin/bash
set -x -e
cd "$(dirname "$0")"
if [[ ! -d "monero_c" ]];
then
git clone https://github.com/mrcyjanek/monero_c --branch rewrite-wip
cd monero_c
git checkout 6eb571ea498ed7b854934785f00fabfd0dadf75b
git reset --hard
git submodule update --init --force --recursive
./apply_patches.sh monero
./apply_patches.sh wownero
else
cd monero_c
fi
if [[ ! -f "monero/.patch-applied" ]];
then
./apply_patches.sh monero
fi
if [[ ! -f "wownero/.patch-applied" ]];
then
./apply_patches.sh wownero
fi
cd ..
echo "monero_c source prepared".