Skip to content

Commit

Permalink
Refresh signer index
Browse files Browse the repository at this point in the history
  • Loading branch information
Kay-Zee authored and psiemens committed Mar 1, 2021
1 parent 5ab48b6 commit 08e5884
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ func (t *Transaction) AddPayloadSignature(address Address, keyIndex int, sig []b

t.PayloadSignatures = append(t.PayloadSignatures, s)
sort.Slice(t.PayloadSignatures, compareSignatures(t.PayloadSignatures))

t.refreshSignerIndex()
return t
}

Expand All @@ -331,7 +331,7 @@ func (t *Transaction) AddEnvelopeSignature(address Address, keyIndex int, sig []

t.EnvelopeSignatures = append(t.EnvelopeSignatures, s)
sort.Slice(t.EnvelopeSignatures, compareSignatures(t.EnvelopeSignatures))

t.refreshSignerIndex()
return t
}

Expand Down

0 comments on commit 08e5884

Please sign in to comment.