```\nfunction refund() override external onlyMinipoolOwnerOrWithdrawalAddress(msg.sender) onlyInitialised {\n    // Check refund balance\n    require(nodeRefundBalance > 0, "No amount of the node deposit is available for refund");\n    // If this minipool was distributed by a user, force finalisation on the node operator\n    if (!finalised && userDistributed) {\n        \_finalise();\n    }\n    // Refund node\n    \_refund();\n}\n```\n