Skip to content

Commit 602b4aa

Browse files
committed
Fix typos
1 parent ee55e7e commit 602b4aa

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

test/functional/test_framework/wallet_cli_controller.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ async def mint_tokens(self, token_id: str, address: str, amount: int) -> str:
191191
async def unmint_tokens(self, token_id: str, amount: int) -> str:
192192
return await self._write_command(f"unminttokens {token_id} {amount}\n")
193193

194-
async def lock_token_suply(self, token_id: str) -> str:
194+
async def lock_token_supply(self, token_id: str) -> str:
195195
return await self._write_command(f"locktokensupply {token_id}\n")
196196

197197
async def issue_new_nft(self,

test/functional/wallet_delegations.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ async def async_test(self):
389389
self.wait_until(lambda: node.chainstate_best_block_id() != tip_id, timeout = 5)
390390
assert_in("Success", await wallet.sync())
391391

392-
# check that we still don't have any delagations for this account
392+
# check that we still don't have any delegations for this account
393393
delegations = await wallet.list_delegation_ids()
394394
assert_equal(len(delegations), 0)
395395

@@ -399,7 +399,7 @@ async def async_test(self):
399399
self.wait_until(lambda: node.chainstate_best_block_id() != tip_id, timeout = 5)
400400
assert_in("Success", await wallet.sync())
401401

402-
# check that we still don't have any delagations for this account
402+
# check that we still don't have any delegations for this account
403403
delegations = await wallet.list_delegation_ids()
404404
assert_equal(len(delegations), 0)
405405

test/functional/wallet_tokens_change_supply.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -179,15 +179,15 @@ async def async_test(self):
179179
assert_in(f"{token_id} amount: {total_tokens_supply}", await wallet.get_balance(utxo_states=['confirmed', 'inactive']))
180180

181181
# lock token supply
182-
assert_in("The transaction was submitted successfully", await wallet.lock_token_suply(token_id))
182+
assert_in("The transaction was submitted successfully", await wallet.lock_token_supply(token_id))
183183
self.generate_block()
184184
assert_in("Success", await wallet.sync())
185185
assert_in(f"{token_id} amount: {total_tokens_supply}", await wallet.get_balance())
186186

187187
# cannot mint any more tokens as it is locked
188188
assert_in("Cannot change a Locked Token supply", await wallet.mint_tokens(token_id, address, tokens_to_mint))
189189
assert_in("Cannot change a Locked Token supply", await wallet.unmint_tokens(token_id, tokens_to_mint))
190-
assert_in("Cannot lock Token supply in state: Locked", await wallet.lock_token_suply(token_id))
190+
assert_in("Cannot lock Token supply in state: Locked", await wallet.lock_token_supply(token_id))
191191

192192

193193
if __name__ == '__main__':

0 commit comments

Comments
 (0)