Skip to content

Commit

Permalink
fix the error for BTC donations
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Oct 4, 2024
1 parent be6099d commit 394aa65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zetaclient/chains/bitcoin/observer/witness.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func GetBtcEventWithWitness(
memo = candidate
logger.Debug().Msgf("GetBtcEventWithWitness: found inscription memo %s in tx %s", hex.EncodeToString(memo), tx.Txid)
} else {
return nil, errors.Errorf("error getting memo for inbound: %s", tx.Txid)
return nil, nil

Check warning on line 61 in zetaclient/chains/bitcoin/observer/witness.go

View check run for this annotation

Codecov / codecov/patch

zetaclient/chains/bitcoin/observer/witness.go#L61

Added line #L61 was not covered by tests
}

// event found, get sender address
Expand Down

0 comments on commit 394aa65

Please sign in to comment.