Skip to content

Commit

Permalink
Use addressmap instead of vmmap
Browse files Browse the repository at this point in the history
  • Loading branch information
Bushstar committed Jul 27, 2023
1 parent 37cdcc9 commit 1fd8c37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/wallet_labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def run_test(self):
# Check that setlabel can assign a label to a new unused address.
for label in labels:
address = node.getnewaddress("", "bech32")
eth_address = node.vmmap(address, 1)
bech32_address = node.vmmap(eth_address, 2)
eth_address = node.addressmap(address, 1)
bech32_address = node.addressmap(eth_address, 2)
legacy_address = key_to_p2pkh(node.getaddressinfo(eth_address)['pubkey'])
node.setlabel(address, label.name)
node.setlabel(eth_address, label.name)
Expand Down

0 comments on commit 1fd8c37

Please sign in to comment.