-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
There are few lines that are common to both the if and else block. The code would be more comprehensive if they are placed outside the if-else block
Lines 31 to 36 in 163c09d
| amount = 100 | |
| vote_address = "" | |
| transaction = AssetTransferTxn(sender=voter_address, sp=params, receiver=vote_address, amt=amount, index=asset_id) | |
| signature = transaction.sign(voter_phrase) | |
| algod_client.send_transaction(signature) | |
| final = transaction.get_txid() |
ChoiceCoin
Metadata
Metadata
Assignees
Labels
No labels