Skip to content

Commit

Permalink
fix: use StakingPart when adding requiredSigner with stakingPart flag
Browse files Browse the repository at this point in the history
  • Loading branch information
joacohoyos committed Dec 7, 2023
1 parent dfc674e commit 879017b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ApolloBuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ func (b *Apollo) AddRequiredSignerFromBech32(address string, addPaymentPart, add

}
if addStakingPart {
b.requiredSigners = append(b.requiredSigners, serialization.PubKeyHash(decoded_addr.PaymentPart[0:28]))
b.requiredSigners = append(b.requiredSigners, serialization.PubKeyHash(decoded_addr.StakingPart[0:28]))
}
return b

Expand Down

0 comments on commit 879017b

Please sign in to comment.