title: Member "tranfer" not found or not visible after argument-dependent lookup in address payable
body: <p>I am using remix to write a simple smart contract to perform transactions from an array of wallets</p>
  <p>This is the code that I have written :</p>
  <pre><code>pragma solidity ^0.5.7;
  
  contract Will{
      address owner;
      uint fortune;
      bool isDeceased;
  
      constructor() payable public {
          owner = msg.sender;
          fortune = msg.value;
          isDeceased = false;
      }
  
      modifier onlyOwner{
          require(msg.sender == owner);
          _;
      }
  
      modifier mustBeDeceased{
          require(isDeceased == true);
          _;
      }
  
      address payable[]  familyWallets;
  
      mapping(address =&gt; uint) inheritance;
  
      function setInheritance (address payable wallet, uint amount) public {
          familyWallets.push(wallet);
          inheritance[wallet] = amount;
      }
  
      function payout() private mustBeDeceased{
          for(uint i = 0; i&lt;familyWallets.length;i++){
              familyWallets[i].tranfer(inheritance[familyWallets[i]]);
          }
      } 
  
      function deceased()public onlyOwner{
          isDeceased = true;
          payout();
      }
  
  }
  </code></pre>
  <p>I am getting the following error on line 35:</p>
  <blockquote>
  <p>TypeError: Member &quot;tranfer&quot; not found or not visible after argument-dependent lookup in<br />
  address payable.
  familyWallets[i].tranfer(inheritance[familyWallets[i]]);</p>
  </blockquote>
  <p>From all the solutions that I referred it asked me to write address payable since it was a breaking change in solidity v0.5 but the same does not work for me.</p>