mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-30 06:26:01 +00:00
fix tx history not persisting + update build_mwebd script
This commit is contained in:
parent
9a85780137
commit
7869334d46
2 changed files with 11 additions and 2 deletions
|
@ -217,6 +217,7 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store {
|
|||
|
||||
@override
|
||||
Future<void> init() async {
|
||||
await transactionHistory.init();
|
||||
await initMwebUtxosBox();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,14 @@
|
|||
# install go > 1.21:
|
||||
wget https://go.dev/dl/go1.22.4.linux-amd64.tar.gz
|
||||
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.22.4.linux-amd64.tar.gz
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
export PATH=$PATH:~/go/bin
|
||||
go install golang.org/x/mobile/cmd/gomobile@latest
|
||||
gomobile init
|
||||
# build mwebd:
|
||||
git clone https://github.com/ltcmweb/mwebd
|
||||
cd mwebd
|
||||
go install github.com/ltcmweb/mwebd/cmd/mwebd@latest
|
||||
go install github.com/ltcmweb/mwebd/cmd/mwebd
|
||||
gomobile bind -target=android -androidapi 21 github.com/ltcmweb/mwebd
|
||||
mkdir -p ../../../cw_mweb/android/libs/
|
||||
mv ./mwebd.aar $_
|
||||
mv ./mwebd.aar $_
|
||||
|
|
Loading…
Reference in a new issue