From 6a65b3b4c2816173f7b5343ccd44171f0bf7e18b Mon Sep 17 00:00:00 2001 From: Rabbit Date: Tue, 16 Jul 2024 13:42:50 +0800 Subject: [PATCH] chore: add hash_type field to holder allocation return (#2068) --- app/controllers/api/v1/udts_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/api/v1/udts_controller.rb b/app/controllers/api/v1/udts_controller.rb index fdac9405b..ccc31a978 100644 --- a/app/controllers/api/v1/udts_controller.rb +++ b/app/controllers/api/v1/udts_controller.rb @@ -93,6 +93,7 @@ def holder_allocation { name: allocation.contract.name, code_hash: allocation.contract.code_hash, + hash_type: allocation.contract.hash_type, holder_count: allocation.ckb_holder_count, } end