on master help sign in
fix: use SET_PROXY gas limits for transfer proxy setting
commita850d7f250be7514993428b7187cbf37bb269859 authorMatt Condon (shrugs) <mattgcondon@gmail.com> dateWed 17 Jul 2019, 15:59 (7 years ago) parent7e6efa2
3 files changed+2−3
src/lib/constants.js−1 src/views/Admin/AdminCancelTransfer.js+1−1 src/views/Admin/AdminTransfer.js+1−1
src/lib/constants.js−1
@@ -22,7 +22,6 @@ const SEED_ENTROPY_BITS = 128;
2222const GAS_LIMITS = {
2323 SPAWN: 250000,
2424 TRANSFER: 550000,
25− CANCEL_TRANSFER: 550000, //NOTE: no samples
2625 CONFIGURE_KEYS: 100000,
2726 SET_PROXY: 120000,
2827 //
src/views/Admin/AdminCancelTransfer.js+1−1
@@ -28,7 +28,7 @@ function useCancelTransfer() {
2828 const _point = need.point(pointCursor);
2929
3030 const { construct, confirmed, bind } = useEthereumTransaction(
31− GAS_LIMITS.CANCEL_TRANSFER
31+ GAS_LIMITS.SET_PROXY
3232 );
3333
3434 useLifecycle(() => {
src/views/Admin/AdminTransfer.js+1−1
@@ -32,7 +32,7 @@ function useTransfer() {
3232 confirmed,
3333 inputsLocked,
3434 bind,
35− } = useEthereumTransaction(GAS_LIMITS.TRANSFER);
35+ } = useEthereumTransaction(GAS_LIMITS.SET_PROXY);
3636
3737 const construct = useCallback(
3838 address =>