Wallet compile error fix