Estimate fee correct error message and amount input type.
This commit is contained in:
		@@ -31,7 +31,8 @@ const estimateFee = async (
 | 
			
		||||
  } catch (err) {
 | 
			
		||||
    if (!opts.silent) {
 | 
			
		||||
      console.error(err)
 | 
			
		||||
      toast.error('Cannot estimate fee.') // ? Some better msg
 | 
			
		||||
      const msg = err instanceof Error ? err.message : 'Error estimating fee!';
 | 
			
		||||
      toast.error(msg);
 | 
			
		||||
    }
 | 
			
		||||
    return null
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user