Txn.Sender to Txn.sender
@@ -84,7 +84,7 @@ To fund this account, any other account in the Algorand network can send algos t
InnerTxnBuilder.SetFields({
TxnField.type_enum: TxnType.Payment,
TxnField.amount: Int(5000),
- TxnField.receiver: Txn.Sender()
+ TxnField.receiver: Txn.sender()
}),
InnerTxnBuilder.Submit(),
#...
@@ -126,7 +126,7 @@ If a smart contract wishes to transfer an asset it holds or needs to opt into an
InnerTxnBuilder.Begin(),
InnerTxnBuilder.SetFields({
TxnField.type_enum: TxnType.AssetTransfer,
- TxnField.asset_receiver: Txn.Sender(),
+ TxnField.asset_receiver: Txn.sender(),
TxnField.asset_amount: Int(1000),
TxnField.xfer_asset: Txn.assets[0], # Must be in the assets array sent as part of the application call
}),
