Skip to content

Commit

Permalink
Increase the gas for send message
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunnini committed May 27, 2020
1 parent 6ab3559 commit cd40e96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/popup/pages/send/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export const SendPage: FunctionComponent<RouteComponentProps> = observer(
ChainInfo | undefined
>(undefined);

const [gasForSendMsg, setGasForSendMsg] = useState(100000);
const [gasForSendMsg, setGasForSendMsg] = useState(200000);
// If chain is GoZ hub, and it tries to send via IBC, increase gas limit.
useEffect(() => {
if (
Expand All @@ -256,7 +256,7 @@ export const SendPage: FunctionComponent<RouteComponentProps> = observer(
) {
setGasForSendMsg(200000);
} else {
setGasForSendMsg(100000);
setGasForSendMsg(200000);
}
}, [chainStore.chainInfo.chainId, counterpartyChainInfo]);

Expand Down

0 comments on commit cd40e96

Please sign in to comment.