Skip to content

Commit 4c4c55c

Browse files
authored
Sync up consensus file with PR for EnforceAuthAddrSenderDiff. (#762)
1 parent a25c254 commit 4c4c55c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

protocol/config/consensus.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ type ConsensusParams struct {
229229
// SupportRekeying indicates support for account rekeying (the RekeyTo and AuthAddr fields)
230230
SupportRekeying bool
231231

232+
// EnforceAuthAddrSenderDiff requires that AuthAddr must be empty or different from Sender
233+
EnforceAuthAddrSenderDiff bool
234+
232235
// application support
233236
Application bool
234237

@@ -1367,6 +1370,7 @@ func initConsensusProtocols() {
13671370

13681371
vFuture.AppSizeUpdates = true
13691372
vFuture.AllowZeroLocalAppRef = true
1373+
vFuture.EnforceAuthAddrSenderDiff = true
13701374

13711375
Consensus[protocol.ConsensusFuture] = vFuture
13721376

0 commit comments

Comments
 (0)