Update wallet.rb

Transfer function was broken from last revamp