def set_request_status(self, payment_hash: bytes, status: int) -> None:
    if (self.get_payment_status(payment_hash) != status):
        self.set_payment_status(payment_hash, status)
        util.trigger_callback('request_status', self.wallet, payment_hash.hex(), status)
def set_request_status(self, payment_hash: bytes, status: int) -> None:
    if (self.get_payment_status(payment_hash) != status):
        self.set_payment_status(payment_hash, status)
        util.trigger_callback('request_status', self.wallet, payment_hash.hex(), status)