Skip to content

Commit

Permalink
validate tx onchain (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgao001 committed Jul 15, 2024
1 parent b376c1c commit 1ae2acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion listener/greenfield_listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (l *GreenfieldListener) poll() error {
return fmt.Errorf("failed to get on chain tx, err=%s", err.Error())
}
if err := l.validateTx(onchainPack, tx); err != nil {
return fmt.Errorf("failed to validate tx, err=%s", err.Error())
panic(fmt.Sprintf("failed to validate tx, err=%s", err.Error()))
}
}

Expand Down

0 comments on commit 1ae2acf

Please sign in to comment.