diff --git a/client/interface.py b/client/interface.py index c8a452fec..8c90891cd 100644 --- a/client/interface.py +++ b/client/interface.py @@ -270,13 +270,13 @@ class TCPInterface(Interface): status = c.get('status') if addr in self.addresses_waiting_for_status: self.addresses_waiting_for_status.remove(addr) - wallet.get_status_callback(addr, status) + wallet.receive_status_callback(addr, status) elif cmd == 'address.get_history': addr = c.get('address') if addr in self.addresses_waiting_for_history: self.addresses_waiting_for_history.remove(addr) - wallet.get_history_callback(addr, data) + wallet.receive_history_callback(addr, data) self.was_updated = True else: print "received message:", c diff --git a/client/wallet.py b/client/wallet.py index 58dd14ad5..2539adc30 100644 --- a/client/wallet.py +++ b/client/wallet.py @@ -703,12 +703,12 @@ class Wallet: else: return s - def get_status_callback(self, addr, status): + def receive_status_callback(self, addr, status): if self.status.get(addr) != status: self.status[addr] = status self.interface.get_history(addr) - def get_history_callback(self, addr, data): + def receive_history_callback(self, addr, data): self.history[addr] = data self.synchronize() self.update_tx_history()