Fixed the issue which deposit_channel and withdraw_channel can not get resource_name.