a couple minor cleanups

This commit is contained in:
The MMGen Project 2026-06-18 13:23:54 +00:00
commit b79460339d
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
2 changed files with 5 additions and 2 deletions

View file

@ -58,7 +58,7 @@ class OpSync(OpWallet):
behind = chain_height - wallet_height
if behind > 1000:
msg_r(f' Wallet is {behind} blocks behind chain tip. Please be patient. Syncing...')
msg_r(f' Wallet is {behind} blocks behind node. Please be patient. Syncing...')
ret = self.c.call('refresh')

View file

@ -9,7 +9,10 @@ let
};
usr_pkgs_path = if builtins.pathExists ~/.mmgen/user-packages.nix then
~/.mmgen/user-packages.nix else ./user-packages.nix;
usr_pkgs = import usr_pkgs_path { pkgs = dfl_nixpkgs; python = dfl_python; bdir = ./.; };
usr_pkgs = import usr_pkgs_path {
pkgs = dfl_nixpkgs;
python = dfl_python;
bdir = ./.; };
pkgs = if usr_pkgs?pkgs then usr_pkgs.pkgs else dfl_nixpkgs;
python = if usr_pkgs?pkgs then usr_pkgs.python else dfl_python;
wallet_pkgs = import ./packages.nix { pkgs = pkgs; python = python; };