Skip to content

Commit

Permalink
Updated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazarii-4chain committed Feb 1, 2024
1 parent 0ca431d commit 9188fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transports/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ func (h *TransportHTTP) UpdateDestinationMetadataByLockingScript(ctx context.Con
func (h *TransportHTTP) GetTransaction(ctx context.Context, txID string) (*buxmodels.Transaction, ResponseError) {
var transaction buxmodels.Transaction
if err := h.doHTTPRequest(
ctx, http.MethodPost, "/transaction?"+FieldID+"="+txID, nil, h.xPriv, h.signRequest, &transaction,
ctx, http.MethodGet, "/transaction?"+FieldID+"="+txID, nil, h.xPriv, h.signRequest, &transaction,
); err != nil {
return nil, err
}
Expand Down

0 comments on commit 9188fe0

Please sign in to comment.