mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-10-14 00:59:33 +00:00
[NOD-463] Change default order to descending (as appears in the spec) (#495)
This commit is contained in:
parent
08a4b0dbf6
commit
9a510e2e23
@ -27,7 +27,7 @@ const (
|
|||||||
const (
|
const (
|
||||||
defaultGetTransactionsLimit = 100
|
defaultGetTransactionsLimit = 100
|
||||||
defaultGetBlocksLimit = 25
|
defaultGetBlocksLimit = 25
|
||||||
defaultGetBlocksOrder = controllers.OrderAscending
|
defaultGetBlocksOrder = controllers.OrderDescending
|
||||||
)
|
)
|
||||||
|
|
||||||
func mainHandler(_ *httpserverutils.ServerContext, _ *http.Request, _ map[string]string, _ map[string]string, _ []byte) (interface{}, error) {
|
func mainHandler(_ *httpserverutils.ServerContext, _ *http.Request, _ map[string]string, _ map[string]string, _ []byte) (interface{}, error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user