diff --git a/src/proto_alpha/lib_protocol/src/delegate_services.ml b/src/proto_alpha/lib_protocol/src/delegate_services.ml index 72c8c1216..2b132a144 100644 --- a/src/proto_alpha/lib_protocol/src/delegate_services.ml +++ b/src/proto_alpha/lib_protocol/src/delegate_services.ml @@ -343,7 +343,7 @@ module S = struct ~query: RPC_query.empty ~input: Data_encoding.empty ~output: frozen_balances_encoding - RPC_path.(open_root / "delegate" /: Ed25519.Public_key_hash.rpc_arg / "frozen_balances") + RPC_path.(open_root / "delegate" /: Signature.Public_key_hash.rpc_arg / "frozen_balances") end let () = let open Services_registration in diff --git a/src/proto_alpha/lib_protocol/src/delegate_services.mli b/src/proto_alpha/lib_protocol/src/delegate_services.mli index 54ef254e8..174e90e90 100644 --- a/src/proto_alpha/lib_protocol/src/delegate_services.mli +++ b/src/proto_alpha/lib_protocol/src/delegate_services.mli @@ -9,7 +9,9 @@ open Alpha_context -val frozen_balances : 'a #RPC_context.simple -> 'a -> Ed25519.Public_key_hash.t -> +val frozen_balances: + 'a #RPC_context.simple -> 'a -> + Signature.Public_key_hash.t -> Delegate.frozen_balances shell_tzresult Lwt.t module Baker : sig diff --git a/src/proto_alpha/lib_protocol/src/delegate_storage.mli b/src/proto_alpha/lib_protocol/src/delegate_storage.mli index b9be3054c..02ca3f386 100644 --- a/src/proto_alpha/lib_protocol/src/delegate_storage.mli +++ b/src/proto_alpha/lib_protocol/src/delegate_storage.mli @@ -98,7 +98,7 @@ type frozen_balances = { (** Returns the amount of frozen deposit, fees and rewards associated to a given key. *) val frozen_balances: - Raw_context.t -> Ed25519.Public_key_hash.t -> + Raw_context.t -> Signature.Public_key_hash.t -> frozen_balances tzresult Lwt.t (** Returns the full 'balance' of the implicit contract associated to