Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bitSmiley committed Aug 23, 2024
1 parent 7b0ca65 commit 3478967
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions e2e/runner/inscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ func (r *InscriptionBuilder) GenerateCommitAddress(memo []byte) (string, error)
return "", err
}

postUrl := r.sidecarURL + "/commit"
req, err := http.NewRequest("POST", postUrl, bytes.NewBuffer(jsonData))
postURL := r.sidecarURL + "/commit"
req, err := http.NewRequest("POST", postURL, bytes.NewBuffer(jsonData))
if err != nil {
return "", errors.Wrap(err, "cannot create commit request")
}
Expand Down Expand Up @@ -88,8 +88,8 @@ func (r *InscriptionBuilder) GenerateRevealTxn(to string, txnHash string, idx in
return "", err
}

postUrl := r.sidecarURL + "/reveal"
req, err := http.NewRequest("POST", postUrl, bytes.NewBuffer(jsonData))
postURL := r.sidecarURL + "/reveal"
req, err := http.NewRequest("POST", postURL, bytes.NewBuffer(jsonData))
if err != nil {
return "", errors.Wrap(err, "cannot create reveal request")
}
Expand Down

0 comments on commit 3478967

Please sign in to comment.