Update wallet.cpp