Fixed wallet rcp bug