Merge #10165: [Wallet] Refactoring by using CInputCoin instead of std::pair