Skip to content

Commit

Permalink
Add version to pending_operations
Browse files Browse the repository at this point in the history
  • Loading branch information
dmirgaleev committed May 2, 2024
1 parent 67c0dcc commit f4c5b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/chain_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (api *Chain) LevelsSavepoint(ctx context.Context) (Savepoint, error) {

// PendingOperations -
func (api *Chain) PendingOperations(ctx context.Context) (MempoolResponse, error) {
req, err := newGetRequest(api.baseURL, fmt.Sprintf("chains/%s/mempool/pending_operations", api.chainID), nil)
req, err := newGetRequest(api.baseURL, fmt.Sprintf("chains/%s/mempool/pending_operations?version=1", api.chainID), nil)
if err != nil {
return MempoolResponse{}, err
}
Expand Down

0 comments on commit f4c5b4c

Please sign in to comment.