Skip to content

Commit

Permalink
revert func Processability() to pointer receiver
Browse files Browse the repository at this point in the history
  • Loading branch information
ws4charlie committed Oct 25, 2024
1 parent ce8f95e commit d0e7b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zetaclient/chains/bitcoin/observer/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type BTCInboundEvent struct {
}

// Processability returns the processability of the inbound event
func (event BTCInboundEvent) Processability() InboundProcessability {
func (event *BTCInboundEvent) Processability() InboundProcessability {
// compliance check on sender and receiver addresses
if config.ContainRestrictedAddress(event.FromAddress, event.ToAddress) {
return InboundProcessabilityComplianceViolation
Expand Down

0 comments on commit d0e7b08

Please sign in to comment.