Make pubkeyTypes readonly

This commit is contained in:
Simon Warta
2020-02-05 11:50:07 +01:00
parent 5ac758c6ba
commit 0b3b1559f7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ export interface PubKey {
readonly value: string;
}
export const pubkeyTypes: string[] = [
export const pubkeyTypes: readonly string[] = [
"tendermint/PubKeySecp256k1",
"tendermint/PubKeyEd25519",
"tendermint/PubKeySr25519",
+1 -1
View File
@@ -74,7 +74,7 @@ export interface PubKey {
readonly type: string;
readonly value: string;
}
export declare const pubkeyTypes: string[];
export declare const pubkeyTypes: readonly string[];
export declare type Bech32PubKey = string;
export interface BaseAccount {
/** Bech32 account address */