sdk38: Use BlockHeader type from lcdapi base in staking extension

This commit is contained in:
willclarktech
2020-07-22 16:53:16 +02:00
parent a4187591ca
commit 88a2fd1a88
4 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ interface BlockId {
// }
}
interface BlockHeader {
export interface BlockHeader {
readonly version: {
readonly block: string;
readonly app: string;
+1 -2
View File
@@ -1,7 +1,6 @@
/* eslint-disable @typescript-eslint/naming-convention */
import { Coin } from "../coins";
import { BlockHeader } from "../cosmosclient";
import { SearchTxsResponse } from "./base";
import { BlockHeader, SearchTxsResponse } from "./base";
import { LcdClient } from "./lcdclient";
interface Validator {
+1 -1
View File
@@ -50,7 +50,7 @@ export interface NodeInfoResponse {
interface BlockId {
readonly hash: string;
}
interface BlockHeader {
export interface BlockHeader {
readonly version: {
readonly block: string;
readonly app: string;
+1 -2
View File
@@ -1,6 +1,5 @@
import { Coin } from "../coins";
import { BlockHeader } from "../cosmosclient";
import { SearchTxsResponse } from "./base";
import { BlockHeader, SearchTxsResponse } from "./base";
import { LcdClient } from "./lcdclient";
interface Validator {
readonly operator_address: string;