1
0

move openalias from plugins to core

This commit is contained in:
ThomasV
2015-07-02 12:44:53 +02:00
parent 90d32038fa
commit 616becd9a8
7 changed files with 238 additions and 339 deletions

View File

@@ -34,6 +34,7 @@ from bitcoin import is_address, hash_160_to_bc_address, hash_160, COIN
from transaction import Transaction
import paymentrequest
from paymentrequest import PR_PAID, PR_UNPAID, PR_UNKNOWN, PR_EXPIRED
import contacts
known_commands = {}
@@ -78,7 +79,7 @@ class Commands:
self.network = network
self._callback = callback
self.password = None
self.contacts = util.Contacts(self.config)
self.contacts = contacts.Contacts(self.config)
def _run(self, method, args, password_getter):
cmd = known_commands[method]