Skip to content

Commit 7c53bf3

Browse files
author
Roman
committed
replace transfer_allow_death with transfer_keep_alive
1 parent b816b78 commit 7c53bf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bittensor_cli/src/bittensor/extrinsics/transfer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async def get_transfer_fee() -> Balance:
5757
"""
5858
call = await subtensor.substrate.compose_call(
5959
call_module="Balances",
60-
call_function="transfer_allow_death",
60+
call_function="transfer_keep_alive",
6161
call_params={"dest": destination, "value": amount.rao},
6262
)
6363

@@ -82,7 +82,7 @@ async def do_transfer() -> tuple[bool, str, str]:
8282
"""
8383
call = await subtensor.substrate.compose_call(
8484
call_module="Balances",
85-
call_function="transfer_allow_death",
85+
call_function="transfer_keep_alive",
8686
call_params={"dest": destination, "value": amount.rao},
8787
)
8888
extrinsic = await subtensor.substrate.create_signed_extrinsic(

0 commit comments

Comments
 (0)