Skip to content

Commit ca06b56

Browse files
committed
Fix bug with LBC tipping
1 parent 6454107 commit ca06b56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/services/v1/comments/create.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -776,12 +776,12 @@ func updateSupportInfoAttempt(request *createRequest, retry bool) error {
776776
if err != nil {
777777
return err
778778
}
779-
txSummary, err := lbry.SDK.GetTx(request.comment.TXID.String)
779+
txSummary, err := lbry.SDK.GetTx(*request.args.SupportTxID)
780780
if err != nil {
781781
return errors.Err(err)
782782
}
783783
if txSummary == nil {
784-
return errors.Err("transaction not found for txid %s", request.comment.TXID.String)
784+
return errors.Err("transaction not found for txid %s", *request.args.SupportTxID)
785785
}
786786
var vout uint64
787787
if request.args.SupportVout != nil {

0 commit comments

Comments
 (0)