Skip to content

Commit

Permalink
hot fix for subjectaccounts
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-tron committed Jul 19, 2023
1 parent b7c51a3 commit cb69730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/bath/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func (a Action) IsSubject(account tongo.AccountID) bool {
a.RecoverStake,
a.STONfiSwap,
} {
if i != nil {
if i != nil && !reflect.ValueOf(i).IsNil() {
return slices.Contains(i.SubjectAccounts(), account)
}
}
Expand Down

0 comments on commit cb69730

Please sign in to comment.