diff --git a/lib/commands.py b/lib/commands.py index ec587f47e..ebb36c3e8 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -121,7 +121,8 @@ class Commands: return h def listunspent(self): - l = self.wallet.get_unspent_coins() + import copy + l = copy.deepcopy(self.wallet.get_unspent_coins()) for i in l: i["value"] = i["value"]*1e-8 return l