fix: use the mempool etag for the /nonces endpoint (#1765)

This commit is contained in:
Rafael Cárdenas
2023-12-11 10:33:07 -06:00
committed by GitHub
parent b3964c0dbf
commit 773c01b21a

View File

@@ -570,7 +570,7 @@ export function createAddressRouter(db: PgStore, chainId: ChainID): express.Rout
router.get(
'/:stx_address/nonces',
cacheHandler,
mempoolCacheHandler,
asyncHandler(async (req, res) => {
// get recent asset event associated with address
const stxAddress = req.params['stx_address'];