Skip to content

Commit

Permalink
crypto-org-chain#278 - Eslint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cdc-Hitesh committed Jun 16, 2021
1 parent 916a1dc commit eff510b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/src/transaction/msg/bank/msgsend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const msgSend = function (config: InitConfigurations) {
return new MsgSend({
fromAddress: parsedMsg.from_address,
toAddress: parsedMsg.to_address,
amount: parsedMsg.amount.map(coin => cro.Coin.fromCustomAmountDenom(coin.amount, coin.denom)),
amount: parsedMsg.amount.map((coin) => cro.Coin.fromCustomAmountDenom(coin.amount, coin.denom)),
});
}

Expand All @@ -79,7 +79,7 @@ export const msgSend = function (config: InitConfigurations) {
value: {
fromAddress: this.fromAddress,
toAddress: this.toAddress,
amount: this.amount.map(coin => coin.toCosmosCoin()),
amount: this.amount.map((coin) => coin.toCosmosCoin()),
},
};
}
Expand All @@ -91,7 +91,7 @@ export const msgSend = function (config: InitConfigurations) {
value: {
from_address: this.fromAddress,
to_address: this.toAddress,
amount: this.amount.map(coin => coin.toCosmosCoin()),
amount: this.amount.map((coin) => coin.toCosmosCoin()),
},
} as legacyAmino.MsgSend;
}
Expand Down

0 comments on commit eff510b

Please sign in to comment.