Skip to content

Commit 9bfdae4

Browse files
author
Roman
committed
replace transfer_allow_death with transfer_keep_alive
1 parent 6219525 commit 9bfdae4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

bittensor/core/async_subtensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2322,7 +2322,7 @@ async def get_transfer_fee(
23222322

23232323
call = await self.substrate.compose_call(
23242324
call_module="Balances",
2325-
call_function="transfer_allow_death",
2325+
call_function="transfer_keep_alive",
23262326
call_params={"dest": dest, "value": value.rao},
23272327
)
23282328

bittensor/core/extrinsics/asyncex/transfer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async def _do_transfer(
4545
"""
4646
call = await subtensor.substrate.compose_call(
4747
call_module="Balances",
48-
call_function="transfer_allow_death",
48+
call_function="transfer_keep_alive",
4949
call_params={"dest": destination, "value": amount.rao},
5050
)
5151

bittensor/core/extrinsics/transfer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def _do_transfer(
4444
"""
4545
call = subtensor.substrate.compose_call(
4646
call_module="Balances",
47-
call_function="transfer_allow_death",
47+
call_function="transfer_keep_alive",
4848
call_params={"dest": destination, "value": amount.rao},
4949
)
5050

bittensor/core/subtensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1831,7 +1831,7 @@ def get_transfer_fee(self, wallet: "Wallet", dest: str, value: Balance) -> Balan
18311831
value = check_and_convert_to_balance(value)
18321832
call = self.substrate.compose_call(
18331833
call_module="Balances",
1834-
call_function="transfer_allow_death",
1834+
call_function="transfer_keep_alive",
18351835
call_params={"dest": dest, "value": value.rao},
18361836
)
18371837

0 commit comments

Comments
 (0)