Skip to content

Commit

Permalink
don't make RekeyTo address available
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-p committed Jun 19, 2024
1 parent ec7a36a commit 351f915
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ledger/simulation/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -781,9 +781,8 @@ func (p *resourcePopulator) addTransaction(txn transactions.Transaction, groupIn
maxAccounts: consensusParams.MaxAppTxnAccounts,
}

// The Sender and RekeyTo will always be implicitly available for every transaction type
// The Sender will always be implicitly available for every transaction type
p.txnResources[groupIndex].addAddressFromField(txn.Sender)
p.txnResources[groupIndex].addAddressFromField(txn.RekeyTo)

if txn.Type == protocol.ApplicationCallTx {
for _, asset := range txn.ForeignAssets {
Expand Down

0 comments on commit 351f915

Please sign in to comment.