Extending a valuation centred in a local domain to the formal completion