Fix missing wallet argument to _resolver

This commit is contained in:
JeremyRand 2019-11-18 01:31:33 +00:00
parent 1773bd6cd6
commit 643bc9d802
No known key found for this signature in database
GPG key ID: B3F2D165786D6570

View file

@ -34,6 +34,7 @@ import operator
import asyncio
import inspect
from functools import wraps, partial
from itertools import repeat
from decimal import Decimal
from typing import Optional, TYPE_CHECKING, Dict
@ -536,7 +537,7 @@ class Commands:
raise Exception("Cannot specify both 'fee' and 'feerate' at the same time!")
self.nocheck = nocheck
change_addr = self._resolver(change_addr, wallet)
domain_addr = None if domain_addr is None else map(self._resolver, domain_addr)
domain_addr = None if domain_addr is None else map(self._resolver, domain_addr, repeat(wallet))
final_outputs = []
for address, amount in outputs:
address = self._resolver(address, wallet)