talk to you hepatitis/liver specialist about that...and also mention it to surgeons so that you can get the most comprehensive treatment/opinion on it.
You have to inform your Hepatitis B to the surgeon and doctor, they will decide whether it is safe for the operation to proceed and things that are needed to be taken into consideration, such as pain killing medications, etc.