a couple minor cleanups
This commit is contained in:
parent
d61be9c9ec
commit
b79460339d
2 changed files with 5 additions and 2 deletions
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
|
|
@ -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; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue