Skip to content

Commit

Permalink
PR feedback fixes #391
Browse files Browse the repository at this point in the history
  • Loading branch information
cdc-Hitesh committed Nov 22, 2022
1 parent c0add99 commit a3eda66
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions lib/src/transaction/msg/slashing/MsgUnjail.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ const cro = CroSDK({
},
});

describe('Testing MsgUnjail (Unbonding)', function () {
describe('Testing MsgUnjail', function () {
fuzzyDescribe('should throw Error when options is invalid', function (fuzzy) {
const anyValidOptions = {
validatorAddress: 'tcrocncl1j7pej8kplem4wt50p4hfvndhuw5jprxxxtenvr',
amount: new cro.Coin('1000', Units.BASE),
};
const testRunner = fuzzy(fuzzy.ObjArg(anyValidOptions));

Expand Down
5 changes: 0 additions & 5 deletions lib/src/transaction/msg/slashing/MsgUnjail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ export interface MsgUnjailRaw {
validator_addr: string;
}

export interface Amount {
denom: string;
amount: string;
}

export const msgUnjail = function (config: InitConfigurations) {
return class MsgUnjail implements CosmosMsg {
/** MsgUnjail validatorAddress. */
Expand Down

0 comments on commit a3eda66

Please sign in to comment.