Skip to content

Commit c830bfa

Browse files
authored
fix: Null Check in DFK Decoders (#48)
1 parent f2404dc commit c830bfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/decoder/protocols/defi-kingdoms/defi-kingdoms.decoders.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ GoldRushDecoder.on(
406406
},
407407
{
408408
heading: "Winner",
409-
value: isNullAddress(decoded.winner)
409+
value: !isNullAddress(decoded.winner)
410410
? decoded.winner
411411
: "No winner",
412412
type: "address",

0 commit comments

Comments
 (0)