Fix inconsistency between api doc and code: hermezEthereumAddress => hezEthereumAddress

This commit is contained in:
Arnau B
2020-12-16 12:29:46 +01:00
parent 8e1bfd150d
commit 226c49f28f
6 changed files with 18 additions and 13 deletions

View File

@@ -72,7 +72,7 @@ func NewAPI(
if coordinatorEndpoints {
// Account
server.POST("/account-creation-authorization", a.postAccountCreationAuth)
server.GET("/account-creation-authorization/:hermezEthereumAddress", a.getAccountCreationAuth)
server.GET("/account-creation-authorization/:hezEthereumAddress", a.getAccountCreationAuth)
// Transaction
server.POST("/transactions-pool", a.postPoolTx)
server.GET("/transactions-pool/:id", a.getPoolTx)