We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce54e36 commit afad243Copy full SHA for afad243
services/decoder/native/native.decoder.ts
@@ -4,7 +4,10 @@ import { currencyToNumber } from "../../../utils/functions";
4
import { DECODED_ACTION, DECODED_EVENT_CATEGORY } from "../decoder.constants";
5
6
GoldRushDecoder.native((tx, options): EventType | null => {
7
- if (currencyToNumber(tx.pretty_value_quote) < options.min_usd!) {
+ if (
8
+ tx.pretty_value_quote &&
9
+ currencyToNumber(tx.pretty_value_quote) < options.min_usd!
10
+ ) {
11
return null;
12
}
13
0 commit comments