diff --git a/src/libs/fetch.js b/src/libs/fetch.js index 4b7b2990..f06872af 100644 --- a/src/libs/fetch.js +++ b/src/libs/fetch.js @@ -276,7 +276,7 @@ export default class ChainFetch { if (compareVersions(config ? config.sdk_version : this.config.sdk_version, '0.40') < 0) { return this.get(`/distribution/delegators/${address}/rewards`, config).then(data => commonProcess(data)) } - return this.get(`/cosmos/distribution/v1beta1/delegators/${address}/rewards`).then(data => commonProcess(data)) + return this.get(`/cosmos/distribution/v1beta1/delegators/${address}/rewards`, config).then(data => commonProcess(data)) } async getStakingValidators(address) { diff --git a/src/views/OperationDelegateComponent.vue b/src/views/OperationDelegateComponent.vue index d4dd2248..71fd0e26 100644 --- a/src/views/OperationDelegateComponent.vue +++ b/src/views/OperationDelegateComponent.vue @@ -19,7 +19,7 @@ >