Skip to content

Commit

Permalink
Fix direct typeurl for Msg{Update,Clear}Admin
Browse files Browse the repository at this point in the history
  • Loading branch information
assafmo committed Jun 14, 2023
1 parent 7a2f012 commit 85b26d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tx/compute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ export class MsgUpdateAdmin implements Msg {

async toProto(): Promise<ProtoMsg> {
return {
type_url: "/cosmos.compute.v1beta1.MsgUpdateAdmin",
type_url: "/secret.compute.v1beta1.MsgUpdateAdmin",
value: this.params,
encode: async () =>
(
Expand Down Expand Up @@ -475,7 +475,7 @@ export class MsgClearAdmin implements Msg {

async toProto(): Promise<ProtoMsg> {
return {
type_url: "/cosmos.compute.v1beta1.MsgClearAdmin",
type_url: "/secret.compute.v1beta1.MsgClearAdmin",
value: this.params,
encode: async () =>
(
Expand Down

0 comments on commit 85b26d3

Please sign in to comment.